@model IEnumerable<CD67.ModeleMVC.Entity.EXEMPLE_TYPE_VIKING>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
    
}
<title>Type de Vikings</title>
<h2 id="title-l2">Type de Vikings</h2>
<div>
    <ul id="menu-l2">
        <li id="li-menu-l2"><a id="a-li-menu-l2-active" class="btn-sm" href="~/">Accueil</a></li>
        <li id="li-menu-l2"><a id="a-li-menu-l2" class="btn-sm" href="~/VIKINGS">Vikings</a></li>
        <li id="li-menu-l2"><a id="a-li-menu-l2" class="btn-sm" href="~/TYPE_VIKING">Type&#8239;de&#8239;Vikings</a></li>
        <li id="li-menu-l2"><a id="a-li-menu-l2" class="btn-sm" href="#">Contact</a></li>

    </ul>
</div>
<p>
    @Html.ActionLink("Ajouter", "Create")
</p>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.TYPE)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.TYPE)
        </td>
        <td>
            @Html.ActionLink("Editer", "Edit", new { id=item.ID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ID }) |
            @Html.ActionLink("Supprimer", "Delete", new { id=item.ID })
        </td>
    </tr>
}

</table>
