public ActionResult Crear(FormCollection collection)
        {
            try
            {
                var model = new Ingrediente();
                TryUpdateModel(model, new string[]
                {
                    "Cantidad", "ProductoProductoId",
                    "UnidadUnidadId", "InventarioInventarioId"
                }, collection.ToValueProvider());

                repository.AddIngrediente(model);
                return(RedirectToAction("Lista", new { id = Int32.Parse(collection["ProductoProductoId"]) }));
            }
            catch
            {
                return(View());
            }
        }