LANCommander/Views/Companies/Details.cshtml
2023-01-02 15:44:04 -06:00

48 lines
1.3 KiB
Text

@model LANCommander.Data.Models.Company
@{
ViewData["Title"] = "Details";
}
<h1>Details</h1>
<div>
<h4>Company</h4>
<hr />
<dl class="row">
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Name)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Name)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.CreatedOn)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.CreatedOn)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.CreatedById)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.CreatedById)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.UpdatedOn)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.UpdatedOn)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.UpdatedById)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.UpdatedById)
</dd>
</dl>
</div>
<div>
<a asp-action="Edit" asp-route-id="@Model?.Id">Edit</a> |
<a asp-action="Index">Back to List</a>
</div>