// GET: Admin/User public ActionResult Index(string searchString, int page = 1, int pageSize = 2) { var dao = new userDao(); var model = dao.ListAllPaging(searchString, page, pageSize); ViewBag.searchString = searchString; return(View(model)); }
// GET: Admin/User public ActionResult Index(string searchString, int page = 1, int pageSize = 2) { var dao = new userDao(); var model = dao.ListAllPaging(searchString, page, pageSize); ViewBag.searchString = searchString; return(View(model)); }