public IHttpActionResult Edit(Nullable <Int64> Id, Search_MoM objS) { if (Id == 0) { Id = null; } MomBusinessService obj = new MomBusinessService(); return(Ok(obj.EditMoM(Id, objS))); }
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")); } }
// 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")); } }
// 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")); } }
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")); } }
// 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")); } }
public IHttpActionResult EndMeeting(Int64?Id, string Observation) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.EndMeeting(Id, Observation))); }
public IHttpActionResult ValidateMeetingdate(string date, Nullable <Int64> MoMId) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.ValidateMeetingDate(date, MoMId))); }
public IHttpActionResult UpdateMeetingDate(Int64?Id, string MeetingDate) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.UpdateMeetingDate(Id, MeetingDate))); }
public IHttpActionResult EditAction(Int64 Id, Int64 MeetingId) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.EditMeetingActions(Id, MeetingId))); }
public IHttpActionResult getNotifications(Search_MoM obj) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.GetNotificationList_Mom(obj))); }
public IHttpActionResult AddUpdateNotificationAction(Int64 Id, AddNotificationAction obj) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.InsertRemoveActions(Id, obj))); }
public IHttpActionResult Insert(Int64 Id, AddMeeting obj) { MomBusinessService objAM = new MomBusinessService(); return(Ok(objAM.InsertMomData(Id, obj))); }