public void SaveChanges(BlogPost post, BlogPostSaveOptions options) { using (SuspendLogic()) { ((IBlogPostEditor)categoryDropDown).SaveChanges(post, options); foreach (PropertyField field in fields) { field.SaveChanges(post); } } isDirty = false; }
void IBlogPostEditor.SaveChanges(BlogPost post, BlogPostSaveOptions options) { controller.SaveChanges(post, options); }
public override void SaveChanges(BlogPost post, BlogPostSaveOptions options) { base.SaveChanges(post, options); _postPropertyEditor.SaveChanges(post, options); }
public void SaveChanges(BlogPost post, BlogPostSaveOptions options) { controller.SaveChanges(post, options); ((IBlogPostEditor)postPropertiesForm).SaveChanges(post, options); }
void IBlogPostEditor.SaveChanges(BlogPost post, BlogPostSaveOptions options) { post.Categories = CategoryContext.SelectedExistingCategories; post.NewCategories = CategoryContext.SelectedNewCategories; _isDirty = false; }
public void SaveChanges(BlogPost post, BlogPostSaveOptions options) { using (SuspendLogic()) { ((IBlogPostEditor)categoryDropDown).SaveChanges(post, options); foreach (PropertyField field in fields) field.SaveChanges(post); } isDirty = false; }