// GET: VacancySearch public ActionResult Index() { var VacancyRequest = _VacancyRepositoryRepo.FindAll(); var model = VacancyRequest; return(View(model)); }
public ActionResult AvailableJobs() { var Vacancies = _repo.FindAll().ToList(); var model = _mapper.Map <List <vacancy>, List <VacancyVM> >(Vacancies); return(View(model)); }