public ActionResult CreateApplicant()
        {
            ViewBag.MainTitle = "Applicant Registration";
            ViewBag.Title     = "Applicant";
            ViewBag.Icon      = "fa fa-user";
            ApplicantRegistrationBO  objApplicantRegistrationBO  = new ApplicantRegistrationBO();
            ApplicantRegistrationBAL objApplicantRegistrationBAL = new ApplicantRegistrationBAL();

            objApplicantRegistrationBO.CountriesList = objApplicantRegistrationBAL.CountryList();
            objApplicantRegistrationBO.TitleList     = objApplicantRegistrationBAL.TitleList();
            objApplicantRegistrationBO.GenderList    = objApplicantRegistrationBAL.GenderList();
            objApplicantRegistrationBO.RefererList   = objApplicantRegistrationBAL.RefererList();
            return(View("AddApplicant", objApplicantRegistrationBO));
        }
        public ActionResult EditApplicant(int iApplicantId)
        {
            ViewBag.MainTitle = "Applicant Registration";
            ViewBag.Title     = "Applicant";
            ViewBag.Icon      = "fa fa-user";
            ApplicantRegistrationBAL objApplicantRegistrationBAL = new ApplicantRegistrationBAL();
            ApplicantRegistrationBO  objApplicantRegistrationBO  = objApplicantRegistrationBAL.EditApplicantDetails(iApplicantId);

            objApplicantRegistrationBO.CountriesList = objApplicantRegistrationBAL.CountryList();
            objApplicantRegistrationBO.TitleList     = objApplicantRegistrationBAL.TitleList();
            objApplicantRegistrationBO.GenderList    = objApplicantRegistrationBAL.GenderList();
            objApplicantRegistrationBO.RefererList   = objApplicantRegistrationBAL.RefererList();
            return(PartialView("EditApplicantRegistration", objApplicantRegistrationBO));
        }
        public ActionResult Index()
        {
            ViewBag.MainTitle = "Applicant Registration";
            ViewBag.Title     = "Applicant";
            ViewBag.Icon      = "fa fa-user";
            ApplicantRegistrationBO  objApplicantRegistrationBO  = new ApplicantRegistrationBO();
            ApplicantRegistrationBAL objApplicantRegistrationBAL = new ApplicantRegistrationBAL();

            objApplicantRegistrationBO.CountriesList = objApplicantRegistrationBAL.CountryList();
            objApplicantRegistrationBO.TitleList     = objApplicantRegistrationBAL.TitleList();
            objApplicantRegistrationBO.GenderList    = objApplicantRegistrationBAL.GenderList();
            objApplicantRegistrationBO.RefererList   = objApplicantRegistrationBAL.RefererList();
            objApplicantRegistrationBO.IdTypeList    = objApplicantRegistrationBAL.IdTypeList();
            // @ViewBag.ImagePath = Url.Content("../assets/images/user-1.png");
            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));
        }