public ActionResult LoadAllAlert() { notifyRepo = new NotificationRepo(); repoResponse = new RepositoryResponse(); string _loggedInUserID = System.Web.HttpContext.Current.Session["UserID"].ToString(); repoResponse = notifyRepo.GetNotificationsByEmployeeNumber(_loggedInUserID); return(Json(new { success = repoResponse.success, message = repoResponse.message, Data = repoResponse.Data })); }