Пример #1
0
        public ActionResult Jobs(string companyId)
        {
            var jobs = jobRepository.GetCompJobs(companyId);

            if (jobs == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.NotFound));
            }

            var viewModel = new JobGetViewModel(jobs);

            return(PartialView("../Company/OtherProfilePage/_Jobs", viewModel));
        }