public ActionResult Index(string searchTerm, int?page)
        {
            int recordSize = 5;

            page = page ?? 1;

            NotificationsListingModel model = new NotificationsListingModel();

            model.SearchTerm = searchTerm;

            model.Notifications = notificationsServices.SearchNotifications(searchTerm, page.Value, recordSize);

            var totalRecords = notificationsServices.SearchNotificationsCount(searchTerm);

            model.Pager = new Pager(totalRecords, page, recordSize);

            return(View(model));
        }
 public ActionResult GetPopUp(NotificationsListingModel model)
 {
     return(View("_PopUpModal", model));
 }