@using ElectronicsShopContracts.ViewModels @model OrderViewModel @{ ViewData["Title"] = "CreateOrders"; }

Корзина

@{ @if(Model!=null){ @foreach (var item in Model.ProductList) { } }
Продукт Количество Сумма
@Html.DisplayFor(modelItem => item.Value.Item1.ProductName) @Html.DisplayFor(modelItem => item.Value.Item2) @Html.DisplayFor(modelItem => item.Value.Item1.Price*item.Value.Item2)
}