@model IEnumerable<FZPC.DAL.Main> <table class="table table-bordered text-center"> <tr style=" background-color:#333333; color:white; text-align:center"> <th></th> <th> رقم الشهادة الجمركية </th> <th> رقم اللوحة </th> <th> رقم الشاسيه </th> <th> سنة الصنع </th> <th> موديل السيارة </th> <th> ماركة السيارة </th> <th> الأسم </th> </tr> @foreach (var item in Model) { <tr> <td> @*@Html.ActionLink("Edit", "Edit", new { id = item.id }) |*@ @Html.ActionLink(" ", "Details", null, new { id = item.id, }, new { @class = "fas fa-search-plus mr-2" }) @*| @Html.ActionLink("Delete", "Delete", new { id = item.id })*@ </td> <td> @Html.DisplayFor(modelItem => item.CustomsCertNum) </td> <td> @Html.DisplayFor(modelItem => item.NumPlate) </td> <td> @Html.DisplayFor(modelItem => item.ChassisNO) </td> <td> @Html.DisplayFor(modelItem => item.ModelYear) </td> <td> @Html.DisplayFor(modelItem => item.CarModel) </td> <td> @Html.DisplayFor(modelItem => item.CarBrand) </td> <td> @Html.DisplayFor(modelItem => item.Name) </td> </tr> } </table>