Files
constructdemo/ConstructorApp.DataAccessLayer/Abstract/IGenericDal.cs
2025-05-01 15:18:30 +03:00

13 lines
309 B
C#

namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IGenericDal<T> where T : class
{
void Add(T entity);
void Delete(T entity);
void Update(T entity);
T GetByID(int id);
List<T> GetListAll();
Task<List<T>> GetListAllAsync();
}
}