// GET: Admin/Notification public ActionResult Index(string searchString, int page = 1, int pageSize = 2) { var data = new NotificationData(); var model = data.ListAllNotification(searchString, page, pageSize); ViewBag.SearchString = searchString; return(View(model)); }