Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
12
Yavsc/Views/Shared/Error.cshtml
Executable file
12
Yavsc/Views/Shared/Error.cshtml
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
@model Exception
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Oops!";
|
||||
}
|
||||
<h1 class="text-danger">Oops! an error occurs</h1>
|
||||
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||
@if (Model != null)
|
||||
{
|
||||
|
||||
@Html.ValueFor(model => model.Message)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue