Views/Assent/Details.cshtml

(完整代码) 1KB

@model WebApplication1.Models.Entities.Assent

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<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>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.AssentId }) |
    @Html.ActionLink("Back to List", "Index")
</p>

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

AI 解读

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

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