public void MainMenu()
        {
            var  manager  = new TicketManager();
            bool menuLoop = true;

            while (menuLoop)
            {
                Console.Clear();
                Console.WriteLine("Välkommen till TicketLocker {0}.", Runtime.UserName);
                Console.WriteLine("1. Visa Events");
                Console.WriteLine("2. Visa Bokningar");
                Console.WriteLine("3. Avsluta programmet.");

                var input = Console.ReadKey(true).Key;

                switch (input)
                {
                case ConsoleKey.D1:
                case ConsoleKey.NumPad1:
                    AvailableEventsSorted();
                    break;

                case ConsoleKey.D2:
                case ConsoleKey.NumPad2:
                    manager.ShowBookings();
                    break;

                case ConsoleKey.D3:
                case ConsoleKey.NumPad3:
                    Environment.Exit(0);
                    break;
                }
            }
        }
        public static void ListAvailableSorter()
        {
            TicketManager.ListCombiner();
            Console.Clear();

            if (ShowTypeChooser == "Film" || ShowTypeChooser == "Konsert" || ShowTypeChooser == "Festival")
            {
                availableSubset = Code.Lists.events
                                  .Where(tickets => tickets.Type.Equals(ShowTypeChooser))
                                  .ToArray();
            }

            else
            {
                availableSubset = Code.Lists.events.ToArray();
            }

            int index = 0;

            foreach (var entry in availableSubset)
            {
                index++;
                Console.WriteLine("{0}. {1}", index, entry.Presentation());
            }

            MenuGUI.BookingQuestioneer();
        }
        public static void RemoveBookedEvent()
        {
            var manager = new TicketManager();

            RemoveMenuLoop = true;
            while (RemoveMenuLoop)
            {
                Console.WriteLine();
                Console.WriteLine("---");
                Console.WriteLine("Skulle du vilja avboka ett event {0}? (j/n)", Runtime.UserName);

                var input = Console.ReadKey(true).Key;

                switch (input)
                {
                case ConsoleKey.J:
                    Console.WriteLine("---");
                    manager.RemoveBooking();
                    RemoveMenuLoop = false;
                    break;

                case ConsoleKey.N:
                    RemoveMenuLoop = false;
                    break;

                default:
                    Console.WriteLine("Du måste använda J eller N.");
                    Console.WriteLine("Tryck på enter för att försöka igen.");
                    Console.ReadLine();
                    break;
                }
            }
        }
        public void GetUserInformation()
        {
            TicketManager manager = new TicketManager();

            Console.WriteLine("Ditt namn: ");
            UserName = Console.ReadLine();

            var menu = new MenuGUI();

            menu.MainMenu();
        }
        public void AvailableEventsSorted()
        {
            var  manager  = new TicketManager();
            bool menuLoop = true;

            while (menuLoop)
            {
                Console.Clear();
                Console.WriteLine("Välkommen till TicketLocker {0}.", Runtime.UserName);
                Console.WriteLine("1. Visa Filmer");
                Console.WriteLine("2. Visa Konserter");
                Console.WriteLine("3. Visa Festival");
                Console.WriteLine("4. Visa Alla");
                Console.WriteLine("5. Gå tillbaka till huvudmenyn");

                var input = Console.ReadKey(true).Key;

                switch (input)
                {
                case ConsoleKey.D1:
                case ConsoleKey.NumPad1:
                    Runtime.ShowTypeChooser = "Film";
                    Runtime.ListAvailableSorter();
                    break;

                case ConsoleKey.D2:
                case ConsoleKey.NumPad2:
                    Runtime.ShowTypeChooser = "Konsert";
                    Runtime.ListAvailableSorter();
                    break;

                case ConsoleKey.D3:
                case ConsoleKey.NumPad3:
                    Runtime.ShowTypeChooser = "Festival";
                    Runtime.ListAvailableSorter();
                    break;

                case ConsoleKey.D4:
                case ConsoleKey.NumPad4:
                    Runtime.ShowTypeChooser = "Else";
                    Runtime.ListAvailableSorter();
                    break;

                case ConsoleKey.D5:
                case ConsoleKey.NumPad5:
                    menuLoop = false;
                    break;
                }
            }
        }