public JsonResult GetCandidateByICID(int ICID) { InterviewCandidateEntity CandidateDetails = null; try { var TktDtl = new InterviewCandidateComponent(); CandidateDetails = TktDtl.GetCandidateByICID(ICID); } catch (Exception ex) { return(null); } return(Json(CandidateDetails, JsonRequestBehavior.AllowGet)); }