public ActionResult GetImage(int userId) { User user = this.userProcessor.GetUser(userId); if (user != null) { return this.File(user.ImageData, user.ImageMimeType); } return null; }