public ActionResult Create(MenuItem menuItem)
        {
            _db.MenuItems.Add(menuItem);
            _db.SaveChanges();
            int id = menuItem.RestaurantId;

            return(RedirectToAction("Details", "Restaurant", id));
        }
 public ActionResult Create(Cuisine cuisine)
 {
     _db.Cuisines.Add(cuisine);
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }
 public ActionResult Create(Restaurant restaurant)
 {
     _db.Restaurants.Add(restaurant);
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }