void ChooseStore() { //check if user is signed in? if (!session.IsLoggedIn()) { Console.WriteLine("Something must have gone wrong, returning to first menu..."); currentMenu = Menu.Welcome; } else { //successfully logged in Console.WriteLine($"\nWelcome {session.GetCustomerFname()}!\n"); // CartDisplay(); string makeChoice = ("\nWhat would you like to do?\n"); List <string> options = new List <string>(); options.Add("Exit"); options.Add("Go Back to Main Menu"); string[] storeNames = session.GetAllStoreNames().ToArray(); foreach (string storeName in storeNames) { options.Add($"Go to the {storeName} Shop"); } int choice = ChooseOptionFromList(intro: makeChoice, options: options.ToArray()); switch (choice) { //if sign-in is successful, move to main menu, otherwise, stay in sign in menu case 0: Environment.Exit(0); break; case 1: currentMenu = Menu.Main; break; default: //attempt to choose store;if successful, go to products menu if (session.AttemptChooseStore(storeNames[choice - 2])) { currentMenu = Menu.ViewProducts; } break; } } }