add ticket

This commit is contained in:
2024-08-01 15:38:20 +03:30
parent c31a2eab12
commit 3781272615
12 changed files with 508 additions and 10 deletions

View File

@ -0,0 +1,58 @@
@model WebApplication1.Models.ticket
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>ticket</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.title)
</dt>
<dd>
@Html.DisplayFor(model => model.title)
</dd>
<dt>
@Html.DisplayNameFor(model => model.content)
</dt>
<dd>
@Html.DisplayFor(model => model.content)
</dd>
<dt>
@Html.DisplayNameFor(model => model.priority)
</dt>
<dd>
@Html.DisplayFor(model => model.priority)
</dd>
<dt>
@Html.DisplayNameFor(model => model.senderid)
</dt>
<dd>
@Html.DisplayFor(model => model.senderid)
</dd>
<dt>
@Html.DisplayNameFor(model => model.status)
</dt>
<dd>
@Html.DisplayFor(model => model.status)
</dd>
</dl>
</div>
<p>
@Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
@Html.ActionLink("Back to List", "Index")
</p>