Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IBaseService.cs
Darkstack 9a9d4c7053 Generic Service
JSON Reference loop
Events
2018-10-07 03:03:38 +02:00

13 lines
290 B
C#

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);
}
}