How can I make a controller method called GetMyImage()
which returns an image as the response (that is, the content of the image itself)?
I thought of changing the return type from ActionResult
to string
, but that doesn't seem to work as expected.