public NotebookSection NewNotebookSection() { int sectionNumber = 1; if (NotebookSections.Count > 0) { sectionNumber = NotebookSections.Max(s => s.Order) + 1; } return(NotebookSection.New(this.Id, sectionNumber, "")); }
public static NotebookSection NewNotebookSection(Guid id, Guid articleNotebookid, int order, string text) { return(NotebookSection.New(id, articleNotebookid, order, text)); }