// GET: UpdateProfile public ActionResult Index() { ViewBag.MainTitle = "Applicant Registration"; ViewBag.Title = "Applicant"; ViewBag.Icon = "fa fa-user"; UpdateProfileBAL objUpdateProfileBAL = new UpdateProfileBAL(); ApplicantRegistrationBO objApplicantRegistrationBO = new ApplicantRegistrationBO(); objApplicantRegistrationBO = objUpdateProfileBAL.GetApplicantDetails(Convert.ToInt32(ViewData["EmployeeId"])); if (objApplicantRegistrationBO != null) { objApplicantRegistrationBO.CountriesList = objUpdateProfileBAL.CountryList(); objApplicantRegistrationBO.TitleList = objUpdateProfileBAL.TitleList(); objApplicantRegistrationBO.GenderList = objUpdateProfileBAL.GenderList(); objApplicantRegistrationBO.RefererList = objUpdateProfileBAL.RefererList(); objApplicantRegistrationBO.IdTypeList = objUpdateProfileBAL.IdTypeList(); objApplicantRegistrationBO.AcademicQualificationsList = objUpdateProfileBAL.AcademicQualificationsList(); objApplicantRegistrationBO.TypeOfIndustryList = objUpdateProfileBAL.TypeOfIndustryList(); } if (objApplicantRegistrationBO.PhotoSavedName == "" || objApplicantRegistrationBO.PhotoSavedName == null) { ViewBag.ImagePath = Url.Content("../assets/images/user-1.png"); } else { ViewBag.ImagePath = Url.Content(strViewUploadPhotoPath + objApplicantRegistrationBO.PhotoSavedName); } return(View(objApplicantRegistrationBO)); }