private void ChangeCar(Inventory car)
 {
     if (car != null)
     {
         var repo = new InventoryRepo();
         repo.Change(car);
         Cars = new ObservableCollection <Inventory>(repo.GetAll());
     }
 }
 public override void Execute(object parameter)
 {
     // ((Inventory)parameter).Color = "Pink";
     if (parameter is Inventory car)
     {
         var repo = new InventoryRepo();
         repo.Change(car);
     }
 }