Y3S1-Cloud_Systems_DevOps/ThAmCo-Stock/ThAmCo.Stock/Views/Stock/Delete.cshtml

40 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-06-09 20:21:37 +00:00
@model ThAmCo.Stock.Data.ProductStock
@{
ViewData["Title"] = "Delete";
}
<h1>Delete</h1>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>ProductStock</h4>
<hr />
<dl class="row">
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.ProductId)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.ProductId)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Stock)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Stock)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.PriceId)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.PriceId)
</dd>
</dl>
<form asp-action="Delete">
<input type="hidden" asp-for="Id" />
<input type="submit" value="Delete" class="btn btn-danger" /> |
<a asp-action="Index">Back to List</a>
</form>
</div>