Files
OpenAuth.Net/OpenAuth.Domain/Utility/IReadOnlyRepository.cs

12 lines
223 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace OpenAuth.Domain.Utility
{
public interface IReadOnlyRepository<T, TId> where T : IAggregateRoot
{
T FindBy(TId id);
IEnumerable<T> FindAll();
}
}