示例#1
0
        public void Put(UploadingDocumentList value)
        {
            List <Document> uploadedDocuments = value.Documents.Select(d => new Document
            {
                ParentFolderID = value.ParentFolderID,
                Title          = d.Title,
                FileID         = d.FileID
            }).ToList();

            _documentService.AddNewDocuments(value.ParentFolderID, uploadedDocuments);
        }