using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; namespace <%= fullNamespace %>.Repository.Contract { public interface IGenericRepository where T : class { Task AddAsync(T entity); Task DeleteAsync(T entity); Task> GetAllAsync(); Task GetByIdAsync(int Id); Task UpdateAsync(T entity); } }