Page design, remove migration, edit foreign key

This commit is contained in:
Dimitar Byalkov
2022-04-08 19:22:12 +03:00
parent 6ab09ad841
commit 7a888a4c2e
16 changed files with 163 additions and 1214 deletions

View File

@@ -3,5 +3,11 @@
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<h1 class="display-4">Welcome, @User.Identity.Name</h1>
<br />
<a type="button" class="btn btn-primary" asp-area="" asp-controller="Cars" asp-action="Index">Manage cars</a>
@if (this.User.IsInRole("Admin"))
{
<a type="button" class="btn btn-primary" asp-area="" asp-controller="Rents" asp-action="Index">Manage rents</a>
}
</div>