public ActionResult GetNotificationMails(Int64 Id) { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { NotificationBusinessService obj = new NotificationBusinessService(); return(View("~/Views/Partial/Notification/NotificationMails.cshtml", obj.GetNotificationMails(Id))); } else { return(PartialView("RedirectToLogin")); } }
public ActionResult GetStakeholderConversation(Int64 NotificationId, Int64 StakeholderId) { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { NotificationBusinessService obj = new NotificationBusinessService(); return(View("~/Views/Partial/StakeHolderConversation.cshtml", obj.GetConversation(NotificationId, StakeholderId))); } else { return(PartialView("RedirectToLogin")); } }
public ActionResult GetStakeHoldersMaster(string SearchText) { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { NotificationBusinessService obj = new NotificationBusinessService(); return(View("~/Views/Partial/StakeHolderList.cshtml", obj.GetStakeHoldersMaster(SearchText))); } else { return(PartialView("RedirectToLogin")); } }
public ActionResult Edit_Notification(Int64 Id) { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { NotificationBusinessService obj = new NotificationBusinessService(); EditNotification NotificationDetails = new EditNotification(); return(View("~/Views/WTO/AddNotification.cshtml", obj.PageLoad_EditNotification(Id))); } else { return(RedirectToAction("Index", "Login")); } }
public ActionResult NotificationSummary(Nullable <Int64> MomId, string CallFor, Nullable <Int64> R, string D, Nullable <Int64> Total) { NotificationBusinessService obj = new NotificationBusinessService(); ViewNotification objViewDetails = new ViewNotification(); objViewDetails = obj.NotificationSummary(MomId, CallFor, R, D); if (objViewDetails != null) { return(RedirectToAction("NotificationView", new { Id = objViewDetails.NotificationId, MomId = objViewDetails.MomId, CallFor = objViewDetails.CallFor, R = objViewDetails.RowNum, D = D, Total = Total })); } else { return(View()); } }
public ActionResult NotificationView(Int64 Id, Nullable <Int64> MomId, string CallFor, Nullable <Int64> R, string D, Nullable <Int64> Total) { NotificationBusinessService obj = new NotificationBusinessService(); return(View(obj.GetViewNotificationDetails(Id, MomId, CallFor, R, D, Total))); }