добавила регистрацию html

This commit is contained in:
Елена Бакальская 2024-04-30 12:09:38 +04:00
parent d3ffccb690
commit a13d4298ec
2 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,6 @@ namespace PolyclinicWebView.Controllers
_logger = logger;
}
[HttpGet]
public IActionResult Index()
{
@ -26,6 +25,11 @@ namespace PolyclinicWebView.Controllers
return View();
}
public IActionResult Register()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{

View File

@ -25,6 +25,9 @@
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Register">Register</a>
</li>
</ul>
</div>
</div>