public static void addNewFlight(string flightNumber)
        {
            Console.WriteLine(String.Format("Thread {0} will create flight number {1}", Thread.CurrentThread.Name, flightNumber));

            DateTime arrivalTime   = new DateTime(2008, 1, 1, 12, 0, 0);
            DateTime departureTime = new DateTime(2008, 1, 1, 10, 0, 0);

            AdministratorServiceReference.AdministratorClient adminClient = new AdministratorServiceReference.AdministratorClient();
            Console.WriteLine(adminClient.createNewFlight(flightNumber, 5, 100, 50, "asd", "xyz", arrivalTime, departureTime));
            Thread.Sleep(5000);
            adminClient.Close();
        }
        private static void addNewFlight(AdministratorServiceReference.AdministratorClient adminClient)
        {
            try
            {
                Console.WriteLine("\nEnter flight number (4 digit alphanumeric): ");
                string flightNumber = Console.ReadLine();
                Console.WriteLine("\nEnter seating capactiy (1-10): ");
                int seatCapacity = Convert.ToInt32(Console.ReadLine());
                Console.WriteLine("\nEnter First Class Ticket Price (Float): ");
                float firstClassPrice = Single.Parse(Console.ReadLine());
                Console.WriteLine("\nEnter Economy Class Ticket Price (Float): ");
                float economyClassPrice = Single.Parse(Console.ReadLine());

                Console.WriteLine("\nEnter Arrival Airport (3 digit alphabetic): ");
                string arrivalAirport = Console.ReadLine();

                Console.WriteLine("\nEnter Arrival date/time in the following format \"06 July 2008 7:32:12 AM\": ");
                string   arrivalTime     = Console.ReadLine();
                DateTime arrivalDateTime = Convert.ToDateTime(arrivalTime);

                Console.WriteLine("\nEnter Departure Airport (3 digit alphabetic): ");
                string departureAirport = Console.ReadLine();

                Console.WriteLine("\nEnter Departure date/time in the following format \"06 July 2008 7:32:12 AM\": ");
                string   departureTime     = Console.ReadLine();
                DateTime departureDateTime = Convert.ToDateTime(departureTime);

                adminClient.createNewFlight(flightNumber, seatCapacity, firstClassPrice, economyClassPrice,
                                            arrivalAirport, departureAirport, arrivalDateTime, departureDateTime);

                Console.WriteLine("\nFlight " + flightNumber + " was successfully created.\n");
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
        }