Esempio n. 1
0
        public ActionResult Details(int id)
        {
            var restaurant = db.GetBy(id);

            if (restaurant is null)
            {
                return(HttpNotFound());
            }

            return(View(restaurant));
        }