Esempio n. 1
0
 public void BuyProduct()
 {
     Basket.BuyProduct();
     ProductManager.BuyProducts();
 }
Esempio n. 2
0
 public void RemoveFromBasket(ProductStack productStack, out double FinalPrice)  //удалить из корзины
 {
     FinalPrice = Basket.RemoveProduct(productStack);
     ProductManager.ReturnProduct(productStack.Product, productStack.Amount);
 }