public List <Book.Model.T_Base_Provider> GetList(int currentPage, int pageSize, String Name = "") { Book.DAL.T_Base_Provider dal = new DAL.T_Base_Provider(); List <Book.Model.T_Base_Provider> lst = dal.GetList(currentPage, pageSize, Name); return(lst); }
public List <Book.Model.T_Base_Provider> GetList(int PageNumber, int PageSize) { Book.DAL.T_Base_Provider dal = new DAL.T_Base_Provider(); List <Book.Model.T_Base_Provider> list = dal.GetList(PageNumber, PageSize); return(list); }
public Book.Model.T_Base_Provider_Page GetListPage(int CurrentPage, int PageSize, String Name = "") { Book.DAL.T_Base_Provider dal = new DAL.T_Base_Provider(); List <Book.Model.T_Base_Provider> list = dal.GetList(CurrentPage, PageSize, Name); int count = dal.GetCount(Name); Book.Model.T_Base_Provider_Page page = new Model.T_Base_Provider_Page(); page.list = list; page.count = count; return(page); }
public List <Book.Model.T_Base_Provider> GetList(int CurrentPage, int PageSize) { Book.DAL.T_Base_Provider dal = new DAL.T_Base_Provider(); return(dal.GetList(CurrentPage, PageSize)); }