Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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. }