public ActionResult AgregarMedida(string Medida)//ingresa medida
        {
            IngredienteM ObjBO = new BO.IngredienteM();

            ObjBO.Medida  = Medida;
            ObjBO.EstadoM = true;
            Objcat.AgregarMedida(ObjBO);
            return(RedirectToAction("IngredienteM"));
        }
        public ActionResult Ingrediente(string Nombre, string IDMedida)//Ingresar ingrediente
        {
            IngredientePrin OBJBO = new BO.IngredientePrin();
            IngredienteM    ing   = new BO.IngredienteM();

            OBJBO.Nombre   = Nombre;
            OBJBO.EstadoI  = true;
            OBJBO.Feha     = DateTime.Now;
            OBJBO.idMedida = int.Parse(IDMedida);
            Objcat.AgregarIngrediente(OBJBO);
            return(RedirectToAction("VistaIngrediente"));
        }