public ViewResult Index() { NotificationServices.DisableNotifications(CurrentCedUser.CurrentUser.Email); var notifications = GetNotificationListItems(null, 1); var model = new NotificationListModel { NotificationTypes = GetAllNotificationTypes(), DayRange = 1, Notifications = notifications }; return(View(model)); }
public JsonResult _ReadAllNotifications() { NotificationServices.DisableNotifications(CurrentCedUser.CurrentUser.Email); return(Json(new { success = true })); }