Exemple #1
0
        public ActionResult EditAllApplicants(int iApplicantId)
        {
            AllApplicantsBAL objAllApplicantsBAL = new AllApplicantsBAL();
            AllApplicantsBO  objAllApplicantsBO  = objAllApplicantsBAL.EditAllApplicants(iApplicantId);

            return(View("EditAllApplicant", objAllApplicantsBO));
        }
Exemple #2
0
        public JsonResult saveonHoldApplicant(AllApplicantsBO Data)
        {
            AllApplicantsBAL objAllApplicantsBAL = new AllApplicantsBAL();

            Data.StatusId = 4;
            string strResult = objAllApplicantsBAL.saveOnHoldApplicant(Data, 1);

            return(Json(strResult, JsonRequestBehavior.AllowGet));
        }
Exemple #3
0
        public JsonResult saveApprovedApplicant(AllApplicantsBO Data)
        {
            AllApplicantsBAL objAllApplicantsBAL = new AllApplicantsBAL();

            Data.StatusId = 2;
            string strResult = objAllApplicantsBAL.saveApprovedApplicant(Data, Convert.ToInt32(ViewData["LoginUserId"]));

            return(Json(strResult, JsonRequestBehavior.AllowGet));
        }
Exemple #4
0
        public ActionResult Index()
        {
            ViewBag.Title     = "Applicants";
            ViewBag.MainTitle = "All Applicants";
            ViewBag.Icon      = "fa fa-user";
            AllApplicantsBO objAllApplicantsBO = new AllApplicantsBO();

            return(View(objAllApplicantsBO));
        }
Exemple #5
0
        public ActionResult ViewApplicant(int iApplicantId)
        {
            AllApplicantsBAL objAllApplicantsBAL = new AllApplicantsBAL();
            AllApplicantsBO  objAllApplicantsBO  = objAllApplicantsBAL.ViewAllApplicant(iApplicantId);

            if (objAllApplicantsBO.PhotoSavedName != "" && objAllApplicantsBO.PhotoSavedName != null)
            {
                ViewBag.ImagePath = Url.Content(strDownLoadPhoto + objAllApplicantsBO.PhotoSavedName);
            }
            else
            {
                ViewBag.ImagePath = Url.Content("../assets/images/user-1.png");
            }
            return(PartialView("ViewAllApplicantList", objAllApplicantsBO));
        }
Exemple #6
0
 public string saveOnHoldApplicant(AllApplicantsBO objAllApplicantsBO, int iUserId)
 {
     return(objAllApplicantsDAL.saveOnHoldApplicant(objAllApplicantsBO, iUserId));
 }