public JsonResult Update(int id, string name, string emailID, string phoneNumber)
 {
     var fsmDetailManager = new FSMDetailManager();
     var status = fsmDetailManager.Update(id, name, emailID, phoneNumber);
     return Json(status);
 }
 public JsonResult GetFSMUsers()
 {
     var fsmDetailManager = new FSMDetailManager();
     var fsmUsers = fsmDetailManager.FSMDetails();
     return Json(new { data = fsmUsers });
 }
 public PartialViewResult Edit(int id)
 {
     var fsmDetailManager = new DataAccess.FSMDetailManager();
     var fsmDetail = fsmDetailManager.FSMDetail(id);
     return PartialView(fsmDetail);
 }
 public JsonResult Delete(int id)
 {
     var fsmDetailManager = new FSMDetailManager();
     var status = fsmDetailManager.Delete(id);
     return Json(status);
 }
 public JsonResult Add(string name, string emailID, string phoneNumber)
 {
     var fsmDetailManager = new FSMDetailManager();
     var status = fsmDetailManager.Add(name, emailID, phoneNumber);
     return Json(status);
 }
 public void SendSelectionSlipMail(int fsmID, string toEmailID, string content)
 {
     if (fsmID == 0) { return; }
     var fsmDetailManager = new FSMDetailManager();
     var fsmDetail = fsmDetailManager.FSMDetail(fsmID);
     if (fsmDetail == null) { return; }
     new Utilities.Email.Invoke((new Utilities.Email()).SendMail).BeginInvoke(toEmailID, fsmDetail.EmailID, "Selection Slip / ASR", content, null, null);
 }