Beispiel #1
0
        public JsonResult SaveCandidateRecord(Job.CandidateProfile OBJ)
        {
            OBJ.Mobile = System.Web.HttpContext.Current.User.Identity.Name;
            Job.CandidateProfile CP = Job.SaveCandidate(OBJ);

            return(Json(true));
        }
Beispiel #2
0
        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));
        }