Пример #1
0
 private List <Paragraph> ConvertModelsToParagraphs(List <ParagraphModel> paragraphModels)
 {
     return(ParagraphModel.ToEntity(paragraphModels).ToList());
 }
Пример #2
0
 private List <ParagraphModel> ConvertParagraphsToModels(List <Paragraph> paragraphs)
 {
     return(ParagraphModel.ToModel(paragraphs).ToList());
 }