Пример #1
0
 public void AddVehicleToGarage()
 {
     try
     {
         Vehicle vehicle = this.m_VehicleAdder.getVitalDetailsFromUser();
         m_Garage.AddVehicleToGarage(vehicle);
         vehicle = this.m_VehicleAdder.populateVehicleWithDetails(vehicle);
         m_UserDisplay.ClearAndDisplayMessage("Vehicle added to garage");
     }
     catch (Exception exception)
     {
         m_UserDisplay.ClearAndDisplayMessage(exception.Message);
     }
     finally
     {
         m_UserDisplay.PressAnyKeyToContinue();
     }
 }