fixed crash on car renting
This commit is contained in:
@@ -32,7 +32,9 @@
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.PriceForDay)
|
||||
</th>
|
||||
<th></th>
|
||||
<th>
|
||||
Select
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -57,6 +59,9 @@
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.PriceForDay)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-controller="Rents" asp-action="Create">Select</a>
|
||||
</td>
|
||||
@if (this.User.IsInRole("Admin"))
|
||||
{
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user