public void AddNewVehicleDataToGarage(VehicleDetails i_NewVehicle) { this.Vehicles.Add(i_NewVehicle.Vehicle.LicensePlate, i_NewVehicle); }
public void ChangeCarStatus(string i_key, VehicleDetails.eVehicleStatus i_Pick) { VehicleDetails vehicleToChange = this.GetVehicleDetails(i_key); vehicleToChange.Status = i_Pick; }
public Vehicle GetVehicle(string i_LicensePlate) { VehicleDetails vehicle = GetVehicleDetails(i_LicensePlate); return(vehicle.Vehicle); }