static void Main(string[] args) { TestBAL myInstance = new TestBAL(); FlightBLLFacade bll = new FlightBLLFacade(); IFlightBLL flightBLL = bll.getFlightBLLInstance(); //get all the flights operating between two cities myInstance.listAllFlights(flightBLL, "SIN", "BLR"); //list all the destinations DateTime dtFlight = DateTime.Now; myInstance.listDestinations(flightBLL); //get user inputs Console.Write("Enter the starting city code - "); string sStart = Console.ReadLine(); Console.Write("Enter the destination city code - "); string sEnd = Console.ReadLine(); myInstance.listRoutesBetweenCities(flightBLL, sStart, sEnd); Console.Write("Enter the number of days starting from today ({0}) for which you want to check schedule ", dtFlight.ToShortDateString()); int iNumDays = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the number of passengers travelling - "); int iPassenger = Convert.ToInt32(Console.ReadLine()); myInstance.listAvailableRoutesBetweenCitiesOnDates(flightBLL, "SIN", "BLR", dtFlight, dtFlight.AddDays(iNumDays), iPassenger); Console.Write("Enter the correct date of flight (in format dd mmm yyyy) - "); string sDateFlight = Console.ReadLine(); dtFlight = DateTime.Parse(sDateFlight); Console.Write("Enter the route ID - "); int iRouteID = Convert.ToInt32(Console.ReadLine()); //generate a list of passengers to be reserved on the flight string sBookingRef = myInstance.makeReservation(flightBLL, iRouteID, dtFlight, myInstance.getListOfPassengers(flightBLL, iPassenger)); Console.WriteLine("Press <ENTER> to exit"); Console.ReadLine(); }