summaryrefslogtreecommitdiff
path: root/Views/Bundles
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-02-16 08:46:04 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-02-16 08:46:04 +0300
commitb20759f20589af855adb977079cf77b4ef299b13 (patch)
tree4cf8a700dd11b0c35500cc793399028cd00dec88 /Views/Bundles
parente4b4105ec0802dd0f1b735e5cb7fba083a0ffe0c (diff)
Add delete action for bundles controller
Diffstat (limited to 'Views/Bundles')
-rw-r--r--Views/Bundles/Index.cshtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Views/Bundles/Index.cshtml b/Views/Bundles/Index.cshtml
index 6c36cb7..e93edb2 100644
--- a/Views/Bundles/Index.cshtml
+++ b/Views/Bundles/Index.cshtml
@@ -18,6 +18,7 @@
<th scope="col">Name</th>
<th scope="col">Descrition</th>
<th scope="col">Price</th>
+ <th scope="col">Actions</th>
</tr>
</thead>
<tbody>
@@ -28,6 +29,7 @@
<td><a asp-action="Edit" asp-route-id="@bundle.Id">@bundle.Name</a></td>
<td>@bundle.Description</td>
<td>@bundle.Price</td>
+ <td><a asp-action="Delete" asp-route-id="@bundle.Id">Delete</a></td>
</tr>
}
</tbody>