public async Task <IActionResult> DownloadFile([FromQuery] string fileId) { var downloadContent = await storageManager.DownloadFile(fileId); return(downloadContent != null ? File(downloadContent.File, mimeMappingService.MapContentType(downloadContent), downloadContent.FileName) : (IActionResult)this.ErrorPage()); }