public void UpdateOemToCarCategoryPage()
        {
            VehiclePart = storeService.VehiclePartService.GetVehiclePart(
                userConfiguration.SelectedVehicleEngine,
                userConfiguration.SelectedCategory
                );
            if (ChooseCarViewModel.SelectedVehicleEngine.Id != VehiclePart.VehicleEngine.Id)
            {
                ChooseCarViewModel.FillVehicleByEngine(VehiclePart.VehicleEngine);
            }

            FillCategories("");
            SelectedCategory = Categories.Where(c => c.Id == VehiclePart.Category.Id).FirstOrDefault();
        }
        public AddOemToCarCategoryViewModel()
        {
            storeService = StoreService.GetStoreService();

            mainViewModel = MainViewModel.GetMainViewModel();
            mainViewModel.AddOemToCarCategoryViewModel = this;

            userConfiguration = UserConfiguration.GetUserConfiguration();


            ChooseCarViewModel = new ChooseCarViewModel(userConfiguration.SelectedVehicleEngine);
            Categories         = new ObservableCollection <Category>();
            UpdateOemToCarCategoryPage();
        }