public void AddPropertyEditor(IPropertyEditor propertyEditor, Publication publication = null) { var contentReport = _reflectionContentManager.GetNewOrUpdatedContent(propertyEditor as PropertyEditor); if (publication != null) contentReport.Item.CreateTranslationVersions(publication); _reflectionContentManager.Store(contentReport.Item); }
public void AddRoute(IRoute route, Publication publication = null) { var contentReport = _reflectionContentManager.GetNewOrUpdatedContent(route as Route); if (publication != null) { contentReport.Item.CreateTranslationVersions(publication); } _reflectionContentManager.Store(contentReport.Item); }