protected override void AfterSaveChangesUI()
        {
            if (SeoStepViewModel != null)
            {
                SeoStepViewModel.SaveSeoKeywordsChanges();
            }

            // just basic properties inject is enough. Injecting collections can generate repository errors.
            OriginalItem.InjectFrom(InnerItem);
            _parentTreeVM.RefreshUI();
        }
 protected virtual void InnerItem_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "Code")
     {
         SeoStepViewModel.ChangeKeywordValue(InnerItem.Code);
     }
     if (e.PropertyName == "PropertySetId")
     {
         SetupPropertiesAndValues(InnerItem.PropertySet, InnerItem.CategoryPropertyValues, InnerItemCatalogLanguages, PropertiesAndValues, IsWizardMode);
     }
 }
        protected override void AfterSaveChangesUI()
        {
            if (_parent != null)
            {
                OriginalItem.InjectFrom <CloneInjection>(InnerItem);
                _parent.RefreshItem(OriginalItem);
            }

            if (SeoStepViewModel != null)
            {
                SeoStepViewModel.SaveSeoKeywordsChanges();
            }
        }