diff --git a/nrdkwebsite/Pages/errors/302.cshtml b/nrdkwebsite/Pages/errors/302.cshtml new file mode 100644 index 0000000..1a53285 --- /dev/null +++ b/nrdkwebsite/Pages/errors/302.cshtml @@ -0,0 +1,8 @@ +@page +@model error302 + +@{ + ViewData["Title"] = "найден"; +} + +

302! найден, но не в состоянии появиться здесь.

\ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/302.cshtml.cs b/nrdkwebsite/Pages/errors/302.cshtml.cs new file mode 100644 index 0000000..4f533eb --- /dev/null +++ b/nrdkwebsite/Pages/errors/302.cshtml.cs @@ -0,0 +1,11 @@ +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace nrdkwebsite.Pages.errors; + +public class error302 : PageModel +{ + public void OnGet() + { + HttpContext.Response.StatusCode = 302; + } +} \ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/409.cshtml b/nrdkwebsite/Pages/errors/409.cshtml new file mode 100644 index 0000000..3df9016 --- /dev/null +++ b/nrdkwebsite/Pages/errors/409.cshtml @@ -0,0 +1,8 @@ +@page +@model error409 + +@{ + ViewData["Title"] = "conflict"; +} + +

409! Conflict!

\ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/409.cshtml.cs b/nrdkwebsite/Pages/errors/409.cshtml.cs new file mode 100644 index 0000000..585b013 --- /dev/null +++ b/nrdkwebsite/Pages/errors/409.cshtml.cs @@ -0,0 +1,12 @@ +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace nrdkwebsite.Pages.errors; + +public class error409 : PageModel +{ + public void OnGet() + { + + } + +} \ No newline at end of file diff --git a/nrdkwebsite/Pages/layout.cshtml b/nrdkwebsite/Pages/layout.cshtml index 9a8829f..9478acc 100644 --- a/nrdkwebsite/Pages/layout.cshtml +++ b/nrdkwebsite/Pages/layout.cshtml @@ -8,23 +8,23 @@ neroduckale's @ViewBag.Title - + @* *@ + -
+