dotnettutorial-asp-dot-net-mvc/AttributeRoutingDemoInMVC/Views/Students/GetStudentDetails.cshtml

21 lines
442 B
Plaintext

@model AttributeRoutingDemoInMVC.Models.Student
@{
ViewBag.Title = "GetStudentDetails";
}
<h2>GetStudentDetails</h2>
<div>
<h4>Student</h4>
<hr/>
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Name)
</dt>
<dd>
@Html.DisplayFor(model => model.Name)
</dd>
<dd>
@Html.DisplayFor(model => model.Id)
</dd>
</dl>
</div>