示例#1
0
        public void BusinessDepositPage()
        {
            // 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("Deposit");

                BL.BusinessDeposit(input - 1, amount);
            }
        }