﻿using System.Collections.Generic;
using Thinktecture.IdentityServer.Models;

namespace Thinktecture.IdentityServer.Repositories
{
    public interface IIdentityProviderRepository
    {
        IEnumerable<IdentityProvider> GetAll();
        IdentityProvider Get(int id);
        void Add(IdentityProvider item);
        void Update(IdentityProvider item);
        void Delete(int id);
        bool TryGet(string name, out IdentityProvider identityProvider);
    }
}
