public void Buy(string itemName) { var purcharseSystem = new PurchaseSystem(this.stock, this.DroppedInMoney); var result = purcharseSystem.Buy(itemName, this.Total); if (result.Sale > 0) { this.Sale += result.Sale; this.Total = 0; } this.Change = result.Change; this.DroppedInMoney.Clear(); }