Untitled

 avatar
unknown
plain_text
2 years ago
679 B
3
Indexable
@model EntityLayer.Entities.Category

@{
    ViewBag.Title = "Delete";
    Layout = null;
}

<h2>Delete Confirmation</h2>

<p>Are you sure you want to delete this category?</p>

<table class="table table-bordered">
    <tr>
        <th>Ad</th>
        <th>Açıklama</th>
    </tr>
    <tr>
        <td>@Model.Name</td>
        <td>@Model.Description</td>
    </tr>
</table>

@using (Html.BeginForm("Delete", "AdminCategory", new { id = Model.Id }, FormMethod.Post))
{
    @Html.AntiForgeryToken()

    <input type="submit" value="Delete" class="btn btn-danger" />
}

@section Scripts {
    <script src="~/Scripts/jquery-3.6.0.min.js"></script>
}
Editor is loading...