Your controller should return an IActionResult , and use the File method, such as this: [HttpGet("download")] public IActionResult ...
確定! 回上一頁