mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
12 lines
223 B
C#
12 lines
223 B
C#
using System.Collections.Generic;
|
|
|
|
namespace OpenAuth.Domain.Utility
|
|
{
|
|
public interface IReadOnlyRepository<T, TId> where T : IAggregateRoot
|
|
{
|
|
T FindBy(TId id);
|
|
IEnumerable<T> FindAll();
|
|
|
|
}
|
|
}
|