public async Task <IActionResult> SingleAttachmentAsync(Guid id, AttachmentSize size = AttachmentSize.MEDIA_SIZE_ORIG) { var res = await fileStorageProvider.ReadAsync(id, size); res.content.Position = 0; return(File(res.content, res.attachment.MimeType, res.attachment.Filename)); }