12 lines
275 B
C#
12 lines
275 B
C#
namespace ConstructorApp.BusinessLayer.Abstract
|
|
{
|
|
public interface IGenericService<T> where T : class
|
|
{
|
|
void TAdd(T entity);
|
|
void TDelete(T entity);
|
|
void TUpdate(T entity);
|
|
T TGetByID(int id);
|
|
List<T> TGetListAll();
|
|
}
|
|
}
|