namespace Diligent.WebAPI.Business.Interfaces { public interface IBaseRepository where TEntity : class { Task> GetAsync(); Task GetByIdAsync(string id); Task CreateAsync(TEntity entity); Task UpdateAsync(string id, TEntity updateEntity); Task RemoveAsync(string id); } }