void UserView() { PrintAllStores(); UserSelectStore(); Store = _sql.StoreOrderHistory(Store); bool StillInSwitch = true; int UserInput; while (StillInSwitch) { Console.WriteLine("1: View history\n" + "2: View Sales\n3: Exit"); UserInput = int.Parse(Console.ReadLine()); switch (UserInput) { case 1: OrderHistoryLoop(); break; case 2: SalesLoop(); break; case 3: StillInSwitch = false; break; } } }