// GET: RecruitmentRequestArea/RecruitmentRequest
        public ActionResult Index()
        {
            var searchModel = new RecruitmentRequestSearchDTO();

            SessionManager.SetValue("RecruitmentRequestSearch", new RecruitmentRequestSearchDTO());
            RecruitmentRequestIndexViewModel viewModel = new RecruitmentRequestIndexViewModel()
            {
                GroupDepartments = departmentService.GetDropdown("Name", "Id"),
                GroupData        = recruitmentRequestService.GetDataByPage(searchModel),
                GroupPositions   = categoryGroupService.GetDataByCode(NHOM_DANHMUC_CONSTANT.VITRI)
            };

            return(View(viewModel));
        }
Example #2
0
        // GET: RecruitmentRequestArea/TemplateRecruitmentRequest
        public ActionResult Index()
        {
            var searchModel = new RecruitmentRequestSearchDTO()
            {
                QueryTemplate = true
            };

            SessionManager.SetValue("TemplateRecruitmentRequestSearch", searchModel);
            TemplateRecruitmentRequestIndexViewModel viewModel = new TemplateRecruitmentRequestIndexViewModel()
            {
                GroupData = recruitmentRequestService.GetDataByPage(searchModel),
            };

            return(View(viewModel));
        }