public void CloseBusinessPage() { // loop until user choose go back while (true) { //ask user to select account int input = SelectAccount(); if (input == 0) { return; } //remove the account from the list BL.CloseBusiness(input - 1); } }