Generic Service
JSON Reference loop Events
This commit is contained in:
13
LaDOSE.Src/LaDOSE.Service/Interface/IBaseService.cs
Normal file
13
LaDOSE.Src/LaDOSE.Service/Interface/IBaseService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LaDOSE.Business.Interface
|
||||
{
|
||||
public interface IBaseService<T> where T : class
|
||||
{
|
||||
IEnumerable<T> GetAll();
|
||||
T GetById(int id);
|
||||
T Create(T entity);
|
||||
bool Update(T entity);
|
||||
bool Delete(int id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user