Commit 38437533 authored by Alexey Goikolov's avatar Alexey Goikolov

Добавил ссылку на удаление телефона в Index.cshtml

parent 6f377840
......@@ -37,7 +37,10 @@
<td>@phone.Name</td>
<td>@phone.Brand.Name</td>
<td>@phone.Price</td>
<td><a asp-action="Add" asp-controller="Orders" asp-route-phoneId="@phone.Id">Купить</a></td>
<td>
<a asp-action="Add" asp-controller="Orders" asp-route-phoneId="@phone.Id">Купить</a>
<a class="ml-3" asp-action="Delete" asp-controller="Phones" asp-route-id="@phone.Id">Удалить</a>
</td>
</tr>
}
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment