示例#1
0
        public void CheckingWithdrawPage()
        {
            //loop until user choose go back
            while (true)
            {
                //ask user to select account
                int input = SelectAccount();
                if (input == 0)
                {
                    return;
                }

                //ask for the amount to deposit
                double amount = ui.AmountInput("Withdraw");
                BL.CheckingWithdraw(input - 1, amount);
            }
        }