Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IBaseService.cs
2019-03-09 14:03:25 +01:00

15 lines
324 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);
T AddOrUpdate(T entity);
}
}