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 override void AfterSaveChangesUI() { if (_parent != null) { OriginalItem.InjectFrom <CloneInjection>(InnerItem); _parent.RefreshItem(OriginalItem); } if (SeoStepViewModel != null) { SeoStepViewModel.SaveSeoKeywordsChanges(); } }