Exemple #1
0
 public DocumentDto(DocumentContext.Document doc)
 {
     DocumentId = doc.DocumentId;
     Name = doc.Name;
     Sections = doc.GetSections().Select(s => new SectionDto(s)).ToList();
 }