using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using PagedList; namespace Church.Net.BLL.Core { public interface IBussinessLogic { void Add(T obj); void Edit(T obj); void Delete(T obj); void Delete(string id); T GetSingle(Expression> whereCondition); PagedList GetPagedList(int page, int itemPerPage); PagedList GetPagedList(int page, int itemPerPage, Expression> whereCondition); IList GetAll(); IList GetAll(Expression> whereCondition); } }