@model HeuristicLab.Services.Optimization.Web.Models.OverviewModel @{ ViewBag.Title = "Overview"; } @if (Model.Orders == null || Model.Orders.Count == 0) {

You don't have any orders yet. Click @Html.ActionLink("here", "Index") to create one.

} else {

Your orders:

@foreach (var order in Model.Orders) { }
Order Id:Order State:Active SinceActive UntilBilling PeriodBilling Type
@order.OrderId @order.State @order.ActiveSince @order.ActiveUntil @order.BillingPeriod @order.BillingType @foreach (var line in order.OrderLines) { }
ProductTotal PriceQuantity
@line.Product.Name @line.ProductPrice @line.Quantity
}