public JsonResult CheckApplicantExist() { UpdateProfileBAL objUpdateProfileBAL = new UpdateProfileBAL(); string strResult = ""; if (Convert.ToInt32(ViewData["LoginRoleId"]) == 70) { strResult = objUpdateProfileBAL.CheckApplicantExist(Convert.ToInt32(ViewData["EmployeeId"])); } return(Json(strResult, JsonRequestBehavior.AllowGet)); }