public ActionResult GetImage(string imageName) { if (_imgGetter.TryGet(imageName)) { return(File(_imgGetter.Data, _imgGetter.Ext)); } return(HttpNotFound()); }