Пример #1
0
        public static Data.Notebook ToDataNotebook(this Models.Notebook notebook)
        {
            NotebookConverter converter = new NotebookConverter();

            return(converter.ReverseConvert(notebook));
        }
Пример #2
0
        public static Models.Notebook ToWebNotebook(this Data.Notebook notebook)
        {
            NotebookConverter converter = new NotebookConverter();

            return(converter.Convert(notebook));
        }