Пример #1
0
        public JsonResult GetList(int pageSize, int pageNumber)
        {
            Book.BLL.T_Base_Customer          bll  = new BLL.T_Base_Customer();
            List <Book.Model.T_Base_Customer> list = bll.GetList(pageNumber, pageSize);
            int count = bll.GetCount();

            return(Json(new { total = count, rows = list }));
            //return Json(list);
        }