// GET: JobCategory/Details/5
        public async Task <IActionResult> Details(string id)
        {
            if (id == null)
            {
                return(View("NotFound"));
            }

            var category = await _jobCategoryService.GetCategoryById(id);

            if (category == null)
            {
                return(View("NotFound"));
            }

            var vm = _mapper.Map <DetailsJobCategoryViewModel>(category);

            return(View(vm));
        }