refactoring

This commit is contained in:
Paul Schneider 2017-02-12 22:20:57 +01:00
commit 16df0a199a
26 changed files with 62 additions and 37 deletions

View file

@ -14,13 +14,13 @@
@Html.DisplayNameFor(model => model.Name)
</dt>
<dd>
@Html.DisplayFor(model => model.Color)
@Html.DisplayFor(model => model)
@Html.DisplayFor(model => model.Name)
</dd>
</dl>
</div>
<p>
@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
@Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
<a asp-action="Index">Back to List</a>
</p>