Exemplo n.º 1
0
        public ActionResult ProductsWeight(int Id)
        {
            RecipesViewModel model = _recipeProvider.EditRecipeProdWeight(Id);

            ViewBag.ListProducts       = _recipeProvider.GetListItemProducts();
            ViewBag.ListProductWeights = _recipeProvider.GetListWeightProducts(Id);
            return(View(model));
        }