How to download file from FileContentResult where type is application/force-download?

后端 未结 0 507
旧时难觅i
旧时难觅i 2020-12-08 03:16

On server side we have the following code:

public IActionResult DownloadFile(int id)
{
   var fd= _srv.DownloadEmailAttachment(id);
   return File(fd.Content,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题