Add project files.
This commit is contained in:
12
ConstructorApp.DataAccessLayer/Abstract/IGenericDal.cs
Normal file
12
ConstructorApp.DataAccessLayer/Abstract/IGenericDal.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user