public ActionResult ViewOrders(int Id) { List <Order> o = new List <Order>(); o = _partsBL.GetOrderByCustomerId(Id).ToList(); return(View(o)); }