Esempio n. 1
0
        public async Task <IActionResult> GetAttachment(Guid attachmentId)
        {
            var file = await _attachmentManager.DownloadAttachmentAsync(attachmentId);

            return(File(file.Content, file.ContentType, file.FileName));
        }