public JsonResult SaveCandidateRecord(Job.CandidateProfile OBJ) { OBJ.Mobile = System.Web.HttpContext.Current.User.Identity.Name; Job.CandidateProfile CP = Job.SaveCandidate(OBJ); return(Json(true)); }
public JsonResult FetchCandidateDetails() { string phoneno = System.Web.HttpContext.Current.User.Identity.Name; Job.CandidateProfile CP = Job.FetchCandidateDetails(phoneno); if (CP.ImgValue != null) { CP.ImgValue = "/Images/CandidateImages/" + CP.ImgValue; } return(Json(CP, JsonRequestBehavior.AllowGet)); }