- [HttpGet]
- public IActionResult Get()
- {
- Byte[] b = System.IO.File.ReadAllBytes(@"E:\\Test.jpg");
- // You can use your own method over here.
- return File(b, "image/jpeg");
- }
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Piyush PansuriyaPosted Mar 3, 2020, 2:42 AM