//添加订单 public void AddOrder(List <OrderDetails> list, OrderDetails A) { list.Add(A); }
public void AddOrderDetails(OrderDetails orderDetails) { this.list.Add(orderDetails); }
//添加订单 public void AddOrder(List <OrderDetails> list, OrderDetails A) { list.Add(A); }
public void AddOrderDetails(OrderDetails orderDetails) { this.list.Add(orderDetails); }