Skip to content

Instantly share code, notes, and snippets.

@ngohungphuc
Created November 23, 2018 11:00
Show Gist options
  • Save ngohungphuc/e3309c68222af8980bfefd7b20ad49e1 to your computer and use it in GitHub Desktop.
Save ngohungphuc/e3309c68222af8980bfefd7b20ad49e1 to your computer and use it in GitHub Desktop.
@model IEnumerable<BackgroundService.Services.ExampleGuid>
@{
ViewData["Title"] = "ExampleGuids";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>ExampleGuids</h2>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Guid)
</th>
<th>
@Html.DisplayNameFor(model => model.Timestamp)
</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Guid)
</td>
<td>
@Html.DisplayFor(modelItem => item.Timestamp)
</td>
</tr>
}
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment