fixed registration crash
This commit is contained in:
1 parent
547c6e8774
commit
6ab09ad841
9 files changed
+14
-158
No files matched your search
@@ -5,6 +5,7 @@
|
||||
}
|
||||
|
||||
<h1>Vehicle</h1>
|
||||
<h2>Available cars</h2>
|
||||
<p>
|
||||
@if (this.User.IsInRole("Admin"))
|
||||
{
|
||||
@@ -66,7 +67,7 @@
|
||||
@Html.DisplayFor(modelItem => item.PriceForDay)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-controller="Rents" asp-action="Create">Select</a>
|
||||
<a asp-controller="Rents" asp-action="Create" >Select</a>
|
||||
</td>
|
||||
@if (this.User.IsInRole("Admin"))
|
||||
{
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
}
|
||||
|
||||
<h1>Rents</h1>
|
||||
<h2>Available cars</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Create New</a>
|
||||
|
||||
Reference in new issue
Block a user