Beispiel #1
0
        public ActionResult <EmployerDetailsVm> ViewEmployer(int id)
        {
            var model = _employerService.GetEmployerDetails(id);

            if (model == null)
            {
                return(NotFound());
            }
            return(Ok(model));
        }
Beispiel #2
0
        public IActionResult ViewEmployer(int id)
        {
            var employerModel = _employerService.GetEmployerDetails(id);

            return(View(employerModel));
        }