Exemplo n.º 1
0
        public void OnSelectedAmount(EAmountDecision decision)
        {
            Card enteredCard = cardRepository.GetCardByPin(cardMock.Pin);

            if (enteredCard.Balance > GetAmountByDecision(decision))
            {
                consoleView.OnWithdrawSuccess();
            }
            else
            {
                consoleView.OnWithdrawFailure();
            }

            WelcomeScreen();
        }