private void Clear()
 {
     Products          = new ObservableCollection <Product>();
     SingleUseProducts = new ObservableCollection <SingleUseProduct>();
     NewProducts       = new ObservableCollection <SingleUseProduct>();
     OnPropertyChanged(nameof(Products));
     OnPropertyChanged(nameof(SingleUseProducts));;
     OnPropertyChanged(nameof(NewProducts));
     inventory.Clear();
     ViewNewProductAddViewModel.Clear();
     ViewProductSearchViewModel1.Clear();
     ViewProductSearchViewModel2.Clear();
 }
 private void Clear()
 {
     Products          = new ObservableCollection <Product>();
     SingleUseProducts = new ObservableCollection <SingleUseProduct>();
     VisitDate         = DateTime.Now;
     inventory.Clear();
     CurrentClient = null;
     OnPropertyChanged(nameof(Products));
     OnPropertyChanged(nameof(CurrentClient));;
     OnPropertyChanged(nameof(SingleUseProducts));
     ViewCustomerSearchViewModel.Clear();
     ViewProductSearchViewModel1.Clear();
     ViewProductSearchViewModel2.Clear();
 }