Ejemplo n.º 1
0
        private static void displayVehicleDetails(GarageLogic.Garage i_Garage)
        {
            Console.WriteLine("Please enter the vehicle licence number");
            string licenceNumber = Console.ReadLine();

            try
            {
                Console.WriteLine(i_Garage.DisplayVehicleDetails(licenceNumber));
            }
            catch (Exception ex)
            {
                catchExceptionAndContinue(i_Garage, ex);
            }
        }