// GET: Beer/id public ActionResult Details(string id) { var beer = JsonRequest.GetBeer(id); if (beer == null) { return(HttpNotFound()); } return(View(beer)); }