@model SMS_MVCDTO.Models.DTOs.ProductDTOs.ProductResponseModel
@{
}

@{
    ViewData["Title"] = "Delete";
}

<h1>Delete</h1>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4>Product</h4>
    <hr />
    <dl class="row">
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.Barcode)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.Barcode)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.Name)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.Name)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.Category)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.Category)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.Description)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.Description)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.Quantity)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.Quantity)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.SellingPrice)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.SellingPrice)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Data.ReorderLevel)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Data.ReorderLevel)
        </dd>
    </dl>
</div>

<div>
    <a asp-action="Delete" asp-route-Id="@Model.Data.Id" class="btn btn-danger">Delete</a>
    <a asp-action="Index" class="btn btn-warning">Back to List</a>
</div>