This commit is contained in:
Paul Schneider 2017-01-19 12:59:49 +01:00
commit 0d8fd0606f
60 changed files with 874 additions and 209 deletions

View file

@ -1,4 +1,4 @@
@model IEnumerable<Yavsc.Models.CircleMember>
@model IEnumerable<Yavsc.Models.Relationship.Circle>
@{
ViewData["Title"] = "Index";
@ -11,11 +11,23 @@
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.OwnerId)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
@Html.DisplayFor(modelItem => item.OwnerId)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |