public void GetTransactionList(Client client) { if (client.IsPremium) { if (_system == null) { _system = new BankSystem(); } _system.GetTransactionList(client); return; } Console.WriteLine($"This operation is Forbidden for {client.Name}"); }
public BankUI(IBankSystem bankSystem) { this.bankSystem = bankSystem; this.account = null; }