Пример #1
0
        public async Task <IActionResult> Download(string fileName)
        {
            var stream = await _blobStorage.DownloadAsync(fileName, EContainerName.pictures);

            return(File(stream, "application/octet-stream", fileName));
        }
Пример #2
0
        public async Task <Stream> DownloadPicture(string fileName)
        {
            var stream = await _blobStorage.DownloadAsync(fileName, EContainerName.pictures);

            return(stream);
        }