public ProductViewModel(Product product)
 {
     _product = product;
 }
Beispiel #2
0
 public void AddOrderLine(int quantity, Product product)
 {
     _orderLines.Add(new OrderLine(quantity, product));
 }