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