diff --git a/Polyclinic/PolyclinicWebView/Controllers/HomeController.cs b/Polyclinic/PolyclinicWebView/Controllers/HomeController.cs index 7c3f123..ad94345 100644 --- a/Polyclinic/PolyclinicWebView/Controllers/HomeController.cs +++ b/Polyclinic/PolyclinicWebView/Controllers/HomeController.cs @@ -1,6 +1,7 @@ using Microsoft.AspNetCore.Mvc; using PolyclinicWebView.Models; using System.Diagnostics; +using System.Globalization; namespace PolyclinicWebView.Controllers { @@ -13,9 +14,11 @@ namespace PolyclinicWebView.Controllers _logger = logger; } + [HttpGet] public IActionResult Index() { - return View(); + + return View(); } public IActionResult Privacy() diff --git a/Polyclinic/PolyclinicWebView/Views/Home/Register.cshtml b/Polyclinic/PolyclinicWebView/Views/Home/Register.cshtml new file mode 100644 index 0000000..913a04a --- /dev/null +++ b/Polyclinic/PolyclinicWebView/Views/Home/Register.cshtml @@ -0,0 +1,27 @@ +@{ + ViewData["Title"] = "Register"; +} +