public async Task <IActionResult> DownloadClarificationFile(Guid applicationId, string filename) { var response = await _applyApiClient.DownloadClarificationFile(applicationId, filename); var fileStream = await response.Content.ReadAsStreamAsync(); return(File(fileStream, response.Content.Headers.ContentType.MediaType, filename)); }