public void FillVehicleModifications(VehicleBrand vehicleBrand)
 {
     vehicleModifications.Clear();
     foreach (VehicleModification vehicleModification in storeService.VehicleService.GetModifications(vehicleBrand))
     {
         vehicleModifications.Add(vehicleModification);
     }
     VehicleModificationComboboxes.FillVehicleModificationComboboxes(vehicleModifications);
 }
        public NewVehicleModificationHelper(IStoreService storeService, NewCarViewModel newCarViewModel)
        {
            this.storeService    = storeService;
            this.newCarViewModel = newCarViewModel;


            VehicleModificationComboboxes = new VehicleModificationComboboxes();
            TextsVehicleModification      = new VehicleModification();

            NewVehicleModification = new VehicleModification();

            EmtyTextsVehicleModification();
            vehicleModifications = new ObservableCollection <VehicleModification>();
        }
 public void ClearVehicleModifications()
 {
     vehicleModifications.Clear();
     VehicleModificationComboboxes.ClearVehicleModificationComboboxes();
 }