13 lines
309 B
C#
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();
|
|
}
|
|
}
|