Beispiel #1
0
        public async Task <TDocument> CopyDocumentAsync(TDocument document, IFolder destination)
        {
            // Copy the document
            document = await _documentService.CloneAsync(document);

            // Create the folder entry
            await AddDocumentAsync(document, destination);

            return(document);
        }