Page design, remove migration, edit foreign key
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user