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); }