public ActionResult OrderDetails(int customerId, int orderId) { var order = _orderRepository.Get(orderId); ViewData["OrderDate"] = "Order Date: " + string.Format("{0:MM/dd/yyyy}", order.OrderDate); ViewData["BreadCrumbs"] = new List <BreadCrumb> { new BreadCrumb { Url = UrlMaker.ToDefault(), Title = "home" }, new BreadCrumb { Url = UrlMaker.ToAdmin(), Title = "administration" }, new BreadCrumb { Url = UrlMaker.ToOrders(), Title = "orders" }, new BreadCrumb { Url = UrlMaker.ToCustomerOrders(customerId), Title = "customer orders" }, new BreadCrumb { Title = "line items" } }; return(View(order.OrderDetails.ToList().ToModel())); }