// GET: Menu/Edit/5
 public ActionResult Edit(int id)
 {
     MenuViewModel mvm = new MenuViewModel();
     mvm.Menu = facade.GetMenuGateway().Get(id);
     mvm.Menu.Dishes.ForEach(x => mvm.SelectedIds.Add(x.Id));
     return View(mvm);
 }
        public ActionResult Create(MenuViewModel mvm)
        {
            try
            {
                List<Dish> temp = new List<Dish>();
                foreach (var item in mvm.SelectedIds)
                {
                    temp.Add(facade.GetDishGateway().Get(item));
                }
                Menu menu = mvm.Menu;
                menu.Dishes = temp;
                facade.GetMenuGateway().Add(menu);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
 // GET: Menu/Create
 public ActionResult Create()
 {
     MenuViewModel mvm = new MenuViewModel();
     return View(mvm);
 }