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