Example #1
0
        public override void ExecuteActionOnAccount(Account account)
        {
            var operations = Banker.GetOperations(account);

            if (!operations.Any())
            {
                DialogConsole.DisplayUser("You have no operations on your account.");
            }
            else
            {
                operations.ForEach(o => Console.WriteLine(o.ToString()));
            }

            DisplayBalance(account);
        }