public ActionResult OrderHistory(int customerId) { List <Order> orderHistory = OrderData.GetOrderHistory(customerId); ViewData["orderHistory"] = orderHistory; return(View()); }