public ActionResult Details(int id) { var exceptionDetailDto = _exceptionService.Get(id); var exceptionDetailViewModel = _mapper.Map <ExceptionDetailViewModel>(exceptionDetailDto); return(View(exceptionDetailViewModel)); }