// GET: Exception/Details/5 public async Task <IActionResult> ExceptionDetails(long id) { var exceptionModel = await _exceptionService.GetExceptionAsync(id); if (exceptionModel == null) { return(NotFound()); } return(View(exceptionModel)); }
public async Task <IActionResult> Index() { ExceptionModel exceptionAsync = await _exceptionService.GetExceptionAsync(1); return(View()); }