Пример #1
0
        public Boolean CreateBooking()
        {
            Person cust = CLI.ChooseCustomer(customers);
            Event  e    = CLI.ChooseEvent(events);

            if (e.MakeReservation(cust))
            {
                //Console.WriteLine("Booking done");
                return(true);
            }
            //Console.WriteLine("Cannot make booking");
            return(false);
        }
Пример #2
0
        public void ShowTickets()
        {
            Person cust = CLI.ChooseCustomer(customers);

            CLI.ShowBookedEvents(cust, events);
        }