public ActionResult Vacancy(int vacancyID) { var vacancy = VacancyService.GetByPK(vacancyID); if (vacancy == null || !vacancy.IsActive) { return(null); } return(View(new VacancyVM { Career = GetCareer(), Vacancy = vacancy })); }
public ActionResult Vacancy(int vacancyID) { var vacancy = VacancyService.GetByPK(vacancyID); if (vacancy == null || !vacancy.IsActive) { return(null); } return(View(new VacancyVM { Career = GetCareer(), Vacancy = vacancy })); }