Beispiel #1
0
        static void Main(string[] args)
        {
            BLimp MyBL = new BLimp();// what's the problem

            char choice;

            do
            {
                choice = PLConsole.Menu();
                switch (choice)
                {
                case 'R':
                    PLConsole.AddGuestRequest();
                    break;

                case 'H':
                    PLConsole.AddHostingUnit();
                    break;

                case 'S':
                    PLConsole.ChangeStatusOfOrder();
                    break;

                case 'O':
                    PLConsole.CreateOrder();
                    break;

                case 'E': break;

                default:
                    Console.WriteLine("The command is unknown. Please try again");
                    break;
                }
            } while (choice != 'e');
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var pl = new PLConsole();

            pl.AddUser();
        }