示例#1
0
        public IHttpActionResult Edit(Nullable <Int64> Id, Search_MoM objS)
        {
            if (Id == 0)
            {
                Id = null;
            }
            MomBusinessService obj = new MomBusinessService();

            return(Ok(obj.EditMoM(Id, objS)));
        }
示例#2
0
 public ActionResult NotificationPlanTakeAction(Int64 Id, Int64 MeetingId)
 {
     if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
     {
         MomBusinessService obj = new MomBusinessService();
         return(View("~/Views/Partial/Notification/NotificationPlanTakeAction.cshtml", obj.EditMeetingActions(Id, MeetingId)));
     }
     else
     {
         return(PartialView("RedirectToLogin"));
     }
 }
示例#3
0
 // GET: MoM/Details/5
 public ActionResult Add(Search_MoM objS)
 {
     if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
     {
         MomBusinessService obj = new MomBusinessService();
         return(View(obj.GetNotificationList_Mom(objS)));
     }
     else
     {
         return(RedirectToAction("Index", "Login"));
     }
 }
示例#4
0
 // GET: MoM
 public ActionResult Index()
 {
     if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
     {
         MomBusinessService obj = new MomBusinessService();
         return(View(obj.GetMOMListData()));
     }
     else
     {
         return(RedirectToAction("Index", "Login"));
     }
 }
示例#5
0
 public ActionResult GetMOMSummary(Int64 Id)
 {
     if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
     {
         //ViewBag.Note = Note;
         MomBusinessService objAM = new MomBusinessService();
         return(PartialView("~/Views/Partial/MOMSummary.cshtml", objAM.MeetingSummary(Id)));
     }
     else
     {
         return(PartialView("RedirectToLogin"));
     }
 }
示例#6
0
        // POST: MoM/Edit/5
        public ActionResult Edit(Nullable <Int64> Id, Search_MoM objS)
        {
            if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
            {
                ViewBag.Id = Id;

                if (Id == 0)
                {
                    Id = null;
                }
                MomBusinessService obj = new MomBusinessService();
                return(View(obj.EditMoM(Id, objS)));
            }
            else
            {
                return(RedirectToAction("Index", "Login"));
            }
        }
示例#7
0
        public IHttpActionResult EndMeeting(Int64?Id, string Observation)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.EndMeeting(Id, Observation)));
        }
示例#8
0
        public IHttpActionResult ValidateMeetingdate(string date, Nullable <Int64> MoMId)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.ValidateMeetingDate(date, MoMId)));
        }
示例#9
0
        public IHttpActionResult UpdateMeetingDate(Int64?Id, string MeetingDate)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.UpdateMeetingDate(Id, MeetingDate)));
        }
示例#10
0
        public IHttpActionResult EditAction(Int64 Id, Int64 MeetingId)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.EditMeetingActions(Id, MeetingId)));
        }
示例#11
0
        public IHttpActionResult getNotifications(Search_MoM obj)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.GetNotificationList_Mom(obj)));
        }
示例#12
0
        public IHttpActionResult AddUpdateNotificationAction(Int64 Id, AddNotificationAction obj)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.InsertRemoveActions(Id, obj)));
        }
示例#13
0
        public IHttpActionResult Insert(Int64 Id, AddMeeting obj)
        {
            MomBusinessService objAM = new MomBusinessService();

            return(Ok(objAM.InsertMomData(Id, obj)));
        }