private void ClearItems()
 {
     SelectedDirectoryItems.Clear();
     SelectedBrandItems.Clear();
     DirectoryItemIdsChanged = true;
     BrandItemIdsChanged     = true;
 }
 public void Clear()
 {
     Code        = string.Empty;
     Name        = string.Empty;
     Article     = string.Empty;
     BrandId     = FirstBrandItemEntity.Id;
     BrandName   = FirstBrandItemEntity.Name;
     PriceIsDown = false;
     PriceIsUp   = false;
     IsNew       = false;
     Vaz         = false;
     Gaz         = false;
     Zaz         = false;
     Chemistry   = false;
     Battery     = false;
     Gas         = false;
     Instrument  = false;
     SelectedDirectoryItems.Clear();
     SelectedBrandItems.Clear();
     DirectoryItemIdsChanged = true;
     BrandItemIdsChanged     = true;
 }