Created
February 24, 2015 20:46
-
-
Save arn-e/411c0b4be2e3171bd67a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HttpGet] | |
public ActionResult ReadWidget(long id) | |
{ | |
WidgetBusiness widgetBusiness = new WidgetBusiness(); | |
Widget widget = widgetBusiness.Get(id); | |
return File(widget.Data, "image/jpg"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment