Views/Assent/Delete.cshtml

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model WebApplication1.Models.Entities.Assent

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4>Assent</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.AssentCategory.CategoryName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AssentCategory.CategoryName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AssentDepartment.DepartmentName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AssentDepartment.DepartmentName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AssentUser.UserName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AssentUser.UserName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AssentName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AssentName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AssentPrice)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AssentPrice)
        </dd>

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Delete" class="btn btn-default" /> |
后面还有 4 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。