public bool Pay(double amount, string accountName) { if (!CardPaymentService.Pay(amount, accountName, out var amountDue)) { Loggingservice.Add($"Not enough balance, missing: {amountDue}"); return(false); } return(true); }
private void StartMakingDrink() { _selectedDrink.GetBeverageMakingLog().ForEach(s => Loggingservice.Log.Add(s)); Loggingservice.Add("------------------"); _selectedDrink = null; }