You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IBaseRepository.cs 357B

1234567891011
  1. namespace Diligent.WebAPI.Business.Interfaces
  2. {
  3. public interface IBaseRepository<TEntity> where TEntity : class
  4. {
  5. Task<List<TEntity>> GetAsync();
  6. Task<TEntity> GetByIdAsync(string id);
  7. Task CreateAsync(TEntity entity);
  8. Task UpdateAsync(string id, TEntity updateEntity);
  9. Task RemoveAsync(string id);
  10. }
  11. }