Skip to content

Instantly share code, notes, and snippets.

@A2H111
Created December 30, 2017 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save A2H111/68ea67c7f48eef5852516f00110d45f8 to your computer and use it in GitHub Desktop.
Save A2H111/68ea67c7f48eef5852516f00110d45f8 to your computer and use it in GitHub Desktop.
@model AspNetCoreMVCMongoDBDemo.Models.Customer
@{
ViewData["Title"] = "Details";
}
<div>
<h4>Customer Details</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.CustomerId)
</dt>
<dd>
@Html.DisplayFor(model => model.CustomerId)
</dd>
<dt>
@Html.DisplayNameFor(model => model.CustomerName)
</dt>
<dd>
@Html.DisplayFor(model => model.CustomerName)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Address)
</dt>
<dd>
@Html.DisplayFor(model => model.Address)
</dd>
</dl>
</div>
<div>
<a asp-action="Index">Back to List</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment