public virtual void RemoveSection(ContentPublishedSection section) { if (Sections.Contains(section)) { Sections.Remove(section); } }
public virtual void AddSection(ContentPublishedSection section) { if (!Sections.Contains(section)) { section.ContentPublished = this; Sections.Add(section); } }