Пример #1
0
        public ActionResult Edit(int id)
        {
            var model = _recipeProvider.EditRecipe(id);

            ViewBag.ListProducts = _recipeProvider.GetListItemProducts();
            ViewBag.ListMenus    = _recipeProvider.GetListItemMenus();
            // ViewBag.ListProductWeights = _recipeProvider.GetListWeightProducts(id);
            return(View(model));
        }