diff options
Diffstat (limited to 'ExamTemplate/Web/Controllers/HomeController.cs')
| -rw-r--r-- | ExamTemplate/Web/Controllers/HomeController.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ExamTemplate/Web/Controllers/HomeController.cs b/ExamTemplate/Web/Controllers/HomeController.cs index f35cb1e..d9cfc45 100644 --- a/ExamTemplate/Web/Controllers/HomeController.cs +++ b/ExamTemplate/Web/Controllers/HomeController.cs @@ -24,5 +24,10 @@ namespace ExamTemplate.Web.Controllers {
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
+
+ public IActionResult ErrorNotFound()
+ {
+ return View();
+ }
}
}
|
