Пример #1
0
        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
            }));
        }