Skip to content
Snippets Groups Projects
Commit 37e44f3c authored by Daniel Lorych's avatar Daniel Lorych :cookie:
Browse files

Add initial Login page and controller action

parent 6e85dd6e
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,11 @@ public class HomeController : Controller
return View();
}
public IActionResult Login()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
......
@{
ViewData["Title"] = "Login";
}
<h1>Welcome to the login page!</h1>
\ No newline at end of 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="Login">Login</a>
</li>
</ul>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment