using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LSFE.Domain.Contracts { public interface IGenericRepository where T : class { Task GetByIdAsync(int id); Task> GetAllAsync(); Task AddAsync(T entity); void Update(T entity); void Delete(T entity); } }