Refactor error handling. Add 404 page
This commit is contained in:
parent
2475d1963c
commit
647696aa92
5 changed files with 38 additions and 17 deletions
7
Website/Views/Error/PageNotFound.cshtml
Normal file
7
Website/Views/Error/PageNotFound.cshtml
Normal file
|
@ -0,0 +1,7 @@
|
|||
@model ErrorViewModel
|
||||
@{
|
||||
ViewData["Title"] = "404 Not Found";
|
||||
}
|
||||
|
||||
<h1>404 Not Found - page unavailable.</h1>
|
||||
This page cannot be found.
|
Loading…
Add table
Add a link
Reference in a new issue