コード例 #1
0
        public async Task <IActionResult> DownloadFile(string fileName)
        {
            var result = await _blobService.DownloadFileBlobAsync("firstcontainer", fileName);

            return(Ok());
        }
コード例 #2
0
 public string Get([FromQuery] string fileName)
 {
     return(_blobService.DownloadFileBlobAsync(ContainerName, fileName));
 }