public ActionResult AcceptRejectInterviewTime(long IPT_Id, string Status) { var _IePeopleManager = new ePeopleManager(); var _workorderems = new workorderEMSEntities(); var common_B = new Common_B(); try { if (IPT_Id > 0 && Status != null) { _IePeopleManager.ScheduleInterviewOfApplicant(IPT_Id, Status); //common_B.SaveApplicantStatus(ApplicantId, ApplicantStatus.I, ApplicantIsActiveStatus.I); return(View("~/Views/Error/_ThankYou.cshtml")); } else { ViewBag.Error = CommonMessage.WrongParameterMessage(); return(View("~/Views/Error/_Error.cshtml")); } } catch (Exception ex) { ViewBag.Error = ex; return(View("~/Views/Error/_Error.cshtml")); } }
public ActionResult ClearedNotCleared(string IsActive, string ActionVal, long ApplicantId) { var _IePeopleManager = new ePeopleManager(); bool isCleared = false; try { if (IsActive != null && ActionVal != null && ApplicantId > 0) { isCleared = _IePeopleManager.ClearedOrNot(IsActive, ActionVal, ApplicantId); } else { isCleared = false; } } catch (Exception ex) { return(View("~/Views/Login/Index.cshtml")); } return(View("~/Views/Guest/ThankYou.cshtml")); //return Json(false, JsonRequestBehavior.AllowGet); }