Exemplo n.º 1
0
        public void InsertVehicleToGarage(Vehicle i_VehicleToInsert, string i_VehicleOwnerName, string i_VehicleOwnerPhoneNumber)
        {
            VehicleInTreatmentDetails vehicleToInsertDetails;

            vehicleToInsertDetails = new VehicleInTreatmentDetails(i_VehicleToInsert, i_VehicleOwnerName, i_VehicleOwnerPhoneNumber);
            m_VehiclesInGarageByNumber.Add(i_VehicleToInsert.VehicleNumber, vehicleToInsertDetails);
        }
Exemplo n.º 2
0
 private static void presentFullVehicleDetails(string i_ExistingVehicleNumber, Ex03.GarageLogic.GarageManager i_GarageManager)
 {
     Ex03.GarageLogic.VehicleInTreatmentDetails vehicleToPresentDetails = i_GarageManager.GetVehicleInTreatmentDetailsByExistingVehicleNumber(i_ExistingVehicleNumber);
     System.Console.WriteLine(vehicleToPresentDetails);
 }