Exemplo n.º 1
0
        private void fullVehicleDetails()
        {
            string licenseNumber = getLicenseNumber();

            try
            {
                RegistrationForm registrationForm = r_GarageLogic.GetFullDetails(licenseNumber);
                Console.WriteLine(registrationForm.ToString());
            }
            catch (Exception ex)
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine(ex.Message);
                Console.ResetColor();
            }
        }