public JsonResult UpdateStatus(int StatusID, int ReferralID)
        {
            bool result = refService.UpdateStatus(StatusID, ReferralID);

            if (result)
            {
                return(Json(new { success = true, message = "Status has been updated." }));
            }
            else
            {
                return(Json(new { success = false })); //Add Else part here to c
            }
        }
        public ActionResult UpdateStatus(int StatusID, int ReferralID)
        {
            bool result = refService.UpdateStatus(StatusID, ReferralID);

            return(RedirectToAction("CandidateProfile", "Candidate_Profile", new { ReferralID = ReferralID })); //Add Else part here to c
        }