/// <summary> /// Добавить идею в файл идей /// </summary> /// <param name="idea"></param> public void AddIdea(Idea idea) { var XmlIdea = IdeaXmlPresenter.GetXmlByIdea(this.Doc.Doc, idea); this.Doc.Body.AppendChild(XmlIdea); this.Doc.Save(); }
/// <summary> /// Добавить идею в файл идей /// </summary> /// <param name="idea"></param> public void AddIdea(Idea idea) { var XmlIdea = IdeaXmlPresenter.GetXmlByIdea(this.Doc.Doc, idea); this.Doc.Body.AppendChild(XmlIdea); this.Doc.Save(); }