@model isnd.RegistrationPageIndexQueryAndResult

@{
    ViewData["Title"] = "Index";
}

<h2>Index</h2>

<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Result[0].Items[0].Items[0].Id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Result[0].Items[0].Items[0].Entry.Description)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var regpage in Model.Result)
foreach (var i in  regpage.Items) {
        <tr>
            <td>
                @i.GetPackageId()
            </td>
            <td>
               
            </td>
            <td>
                @Html.ActionLink("Details", "Details", new { pkgid = i.GetPackageId() })
            </td>
        </tr>
}
    </tbody>
</table>
