diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-08 18:10:08 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-08 18:10:08 +0300 |
| commit | 82d270a66b8ffca28e321f29b2eb90b2412ac9a7 (patch) | |
| tree | bd7e985592a0d8d5ec31b590b3c52d403e17e140 /ExamTemplate/Web/Views/Shared/_Navbar.cshtml | |
| parent | a1e46b76a1299e35b1ac8cae69e77c66d74224a6 (diff) | |
| download | it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar.gz it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.zip | |
Implemented authorization; Replaced Role with IdentityRole<Guid>; Renamed UserController to AccountController, updated links
Diffstat (limited to 'ExamTemplate/Web/Views/Shared/_Navbar.cshtml')
| -rw-r--r-- | ExamTemplate/Web/Views/Shared/_Navbar.cshtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml index 7ae8f50..0ec5c4d 100644 --- a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml +++ b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml @@ -13,18 +13,18 @@ <section> @if (SignInManager.IsSignedIn(User)) { - <a asp-controller="User" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)"> + <a asp-controller="Account" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)"> @UserManager.GetUserName(User) </a> - <form asp-controller="User" asp-action="Logout" method="post"> + <form asp-controller="Account" asp-action="Logout" method="post"> <input type="submit" value="Logout"> </form> } else { - <a asp-controller="User" asp-action="Login">Login</a> - <a asp-controller="User" asp-action="Register">Register</a> + <a asp-controller="Account" asp-action="Login">Login</a> + <a asp-controller="Account" asp-action="Register">Register</a> } </section> </div> |
