namespace NG_2023_Kanban.DataLayer.Interfaces { public interface IRepository where T : class { Task> GetAllAsync(); Task GetAsync(int id); Task> FindAsync(Func predicate); Task CreateAsync(T entity); Task UpdateAsync(T entity); Task DeleteAsync(int id); Task DeleteAsync(T entity); } }