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