예제 #1
0
        public List <Book.Model.T_Base_Book> GetList(int currentPage, int pageSize, String BookName = "", String Author = "")
        {
            Book.DAL.T_Base_Book          dal = new DAL.T_Base_Book();
            List <Book.Model.T_Base_Book> lst = dal.GetList(currentPage, pageSize, BookName, Author);

            return(lst);
        }
예제 #2
0
        public List <Book.Model.T_Base_Book> GetList(int PageNumber, int PageSize, string Query)
        {
            Book.DAL.T_Base_Book          dal  = new DAL.T_Base_Book();
            List <Book.Model.T_Base_Book> list = dal.GetList(PageNumber, PageSize, Query);

            return(list);
        }
예제 #3
0
        public Book.Model.T_Base_Book_Page GetListPage(int CurrentPage, int PageSize)
        {
            Book.DAL.T_Base_Book          dal  = new DAL.T_Base_Book();
            List <Book.Model.T_Base_Book> list = dal.GetList(CurrentPage, PageSize);
            int count = dal.GetCount();

            Book.Model.T_Base_Book_Page page = new Model.T_Base_Book_Page();
            page.list  = list;
            page.count = count;
            return(page);
        }
예제 #4
0
        public Book.Model.T_Base_Book_Page GetListPage(int CurrentPage, int PageSize, String BookName = "", String Author = "")
        {
            Book.DAL.T_Base_Book          dal  = new DAL.T_Base_Book();
            List <Book.Model.T_Base_Book> list = dal.GetList(CurrentPage, PageSize, BookName, Author);
            int count = dal.GetCount(BookName, Author);

            Book.Model.T_Base_Book_Page page = new Model.T_Base_Book_Page();
            page.list  = list;
            page.count = count;
            return(page);
        }
예제 #5
0
 public List <Book.Model.T_Base_Book> GetList(int CurrentPage, int PageSize)
 {
     Book.DAL.T_Base_Book dal = new DAL.T_Base_Book();
     return(dal.GetList(CurrentPage, PageSize));
 }