Beispiel #1
0
 public OrderLineItem(Product product, int quantity)
 {
     Product = product;
     Quantity = quantity;
 }
Beispiel #2
0
 public void AddOrderLineItem(Product product, int quantity)
 {
     _orderLineItems.Add(new OrderLineItem(product, quantity));
 }