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

@ -15,11 +15,13 @@
@Html.DisplayNameFor(model => model.Name)
</dt>
<dd>
@Html.DisplayFor(model => model)
@Html.DisplayFor(model => model.Name)
</dd>
</dl>
<form asp-action="Delete">
<input type="hidden" asp-for="Id" />
<div class="form-actions no-color">
<input type="submit" value="Delete" class="btn btn-default" /> |
<a asp-action="Index">Back to List</a>