9 lines
191 B
C#
9 lines
191 B
C#
namespace BMA.EHR.Application.Common.Interfaces
|
|
{
|
|
public interface IGenericRepository<S,T> where T : class
|
|
{
|
|
Task<T?> GetByIdAsync(S id);
|
|
|
|
Task<IReadOnlyList<T>> GetAllAsync();
|
|
}
|
|
}
|