| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- @model IEnumerable<ShoeShopMvc.Models.Product>
- @{
- ViewData["Title"] = "Index";
- }
- <h1>Index</h1>
- <p>
- <a asp-action="Create">Create New</a>
- </p>
- <table class="table">
- <thead>
- <tr>
- <th>
- @Html.DisplayNameFor(model => model.ProductName)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.EdIzm)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Price)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.SupplierId)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.ManufactureId)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.CategoryId)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Skidka)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Colvo)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.OpisanieProduct)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Image)
- </th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- @foreach (var item in Model) {
- <tr>
- <td>
- @Html.DisplayFor(modelItem => item.ProductName)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.EdIzm)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Price)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.SupplierId)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.ManufactureId)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.CategoryId)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Skidka)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Colvo)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.OpisanieProduct)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Image)
- </td>
- <td>
- <a asp-action="Edit" asp-route-id="@item.Article">Edit</a> |
- <a asp-action="Details" asp-route-id="@item.Article">Details</a> |
- <a asp-action="Delete" asp-route-id="@item.Article">Delete</a>
- </td>
- </tr>
- }
- </tbody>
- </table>
|