public ActionResult Index(String Name = "") { Book.BLL.T_Base_Customer bll = new BLL.T_Base_Customer(); Book.Model.T_Base_Customer_Page page = bll.GetListPage(1, PageSize, Name); //List<Book.Model.T_Base_Customer> lst = bll.GetAll(); ViewBag.MaxPageIndex = MaxPageIndex; ViewBag.PageSize = PageSize; ViewBag.lst = page.list; ViewBag.count = page.count; return(View()); }