-1
<table>
<tr>
<th>
Name
</th>
<th>
Notes
</th>
<th>
Supplier?
</th>
<th>
Disabled?
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html. DisplayFor(modelItem => item. Name)
</td>
<td>
@Html. DisplayFor(modelItem => item. Notes)
</td>
<td>
@Html. DisplayFor(modelItem => item. IsSupplier)
</td>
<td>
@Html. DisplayFor(modelItem => item. IsDisabled)
</td>
<td>
@Html. ActionLink("Edit", "Edit", new { id=item. CompanyId }) |
@Html. ActionLink("Details", "Details", new { id=item. CompanyId }) |
@Html. ActionLink("Delete", "Delete", new { id=item. CompanyId })
</td>
</tr>
}
</table>