@model HeuristicLab.Services.Optimization.Web.Models.OrderAdminModel @{ ViewBag.Title = "Order Administration"; }

Welcome to the order administartion!

@if (Model.Orders == null || Model.Orders.Count > 0) { @foreach (var order in Model.Orders) { }
Username:Order details:Activate order?
@order.User.Name @foreach (var orderLine in order.OrderLines) { }
Id: Product name: Product price: Product quantity:
@orderLine.Id @orderLine.Product.Name @orderLine.ProductPrice @orderLine.Quantity
@using (Html.BeginForm("ActivateOrder", "OrderAdmin")) { }
} else {

No new orders available!

}