hrms-api-backend/BMA.EHR.Application/Common/Interfaces/IGenericRepository.cs
Suphonchai Phoonsawat 717b0f0a8e Add project files.
2023-06-05 20:22:51 +07:00

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();
}
}