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