Is it correct way of displaying Image from .NET Core API in ASP.MVC View?

前端 未结 0 425
名媛妹妹
名媛妹妹 2021-02-19 09:58

I have a .NET Core API that returns an Image:

 [HttpGet]
 public IActionResult GetImage()
 {
     return File("Image bytes", "image/jpeg");
 }         


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