Ejemplo n.º 1
0
 private void FillVehicleBrands()
 {
     vehicleBrands.Clear();
     foreach (Vehicle vehicleBrand in vehicleAccess.GetAllVehicleBrands())
     {
         vehicleBrands.Add(vehicleBrand);
     }
 }
Ejemplo n.º 2
0
 void FillVehicleBrands()
 {
     vehicleBrands.Clear();
     foreach (Vehicle vehicle in vehicleAccess.GetAllVehicleBrands())
     {
         vehicleBrands.Add(vehicle);
     }
     NotifyPropertyChanged(nameof(VehicleBrands));
 }