示例#1
0
 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"));
     }
 }
示例#2
0
 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"));
     }
 }
示例#3
0
 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"));
     }
 }
示例#4
0
 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"));
     }
 }
示例#5
0
        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());
            }
        }
示例#6
0
        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)));
        }