110,566
社区成员
发帖
与我相关
我的任务
分享
public interface IServiceBase<T, S> where T : class, new()
{
ResultModel Add(S model);
ResultModel Delete(S model);
ResultModel Edit(S model);
PagerModel GetPagerList(Expression<Func<T, bool>> predicate, int limit, int offset);
List<S> GetList(Expression<Func<T, bool>> predicate);
}
public interface IServiceBase<T, S>
where T : class, new()
where S : class, new()
{
ResultModel Add(S model);
ResultModel Delete(S model);
ResultModel Edit(S model);
PagerModel GetPagerList(Expression<Func<T, bool>> predicate, int limit, int offset);
List<S> GetList(Expression<Func<T, bool>> predicate);
}