// GET: VacancySearch
        public ActionResult Index()
        {
            var VacancyRequest = _VacancyRepositoryRepo.FindAll();
            var model          = VacancyRequest;

            return(View(model));
        }
示例#2
0
        public ActionResult AvailableJobs()

        {
            var Vacancies = _repo.FindAll().ToList();
            var model     = _mapper.Map <List <vacancy>, List <VacancyVM> >(Vacancies);

            return(View(model));
        }