@using AutomobilePlantContracts.ViewModels @model List @{ ViewData["Title"] = "Home Page"; }

Orders

@{ if (Model == null) {

Log in!

return; }

Create order

@foreach (var item in Model) { }
Number Car Date of creation Count Sum Status
@Html.DisplayFor(modelItem => item.Id) @Html.DisplayFor(modelItem => item.CarName) @Html.DisplayFor(modelItem => item.DateCreate) @Html.DisplayFor(modelItem => item.Count) @Html.DisplayFor(modelItem => item.Sum) @Html.DisplayFor(modelItem => item.Status)
}