private void MainMenuOptions() { bool exit = false; while (!exit) { PrintMainMenu(); string mainMenuChoice = Console.ReadLine(); switch (mainMenuChoice) { case "1": PrintListsFromDB.PrintBooksList(); break; case "2": LoanProcess.BorrowABook(thisMember); break; case "3": PrintListsFromDB.PrintMoviesList(); break; case "4": LoanProcess.BorrowAMovie(thisMember); break; case "5": ReturnItem.UpdateBookLoan(thisMember); break; case "6": break; case "7": break; case "8": break; case "9": break; case "10": break; case "0": exit = true; break; default: break; } } }
public static void BorrowBookMenu() { Member member = SelectMemberById.SelectMember("lend a book to"); LoanProcess.BorrowABook(member); }