Ejemplo n.º 1
0
        public void Alterinhabilitadoing(IngredienteBLL objaux)
        {
            IngredienteDAL aiu = new IngredienteDAL();

            aiu.id_ingrediente = this.id_ingrediente;
            aiu.Altereliminaring(aiu);
        }
Ejemplo n.º 2
0
        public bool AddIngrediente(IngredienteBLL objaux)
        {
            IngredienteDAL ai = new IngredienteDAL();

            ai.nombre_ingrediente = this.nombre_ingrediente;
            ai.proveedor          = this.proveedor;
            ai.habilitado         = this.habilitado;
            ai.stock        = this.stock;
            ai.stock_cocina = this.stock_cocina;
            return(ai.AgregarIngrediente(ai));
        }
Ejemplo n.º 3
0
        public void AlterinIngrediente(IngredienteBLL objaux)
        {
            IngredienteDAL aiu = new IngredienteDAL();

            aiu.nombre_ingrediente = this.nombre_ingrediente;
            aiu.proveedor          = this.proveedor;
            aiu.habilitado         = this.habilitado;
            aiu.stock          = this.stock;
            aiu.stock_cocina   = this.stock_cocina;
            aiu.id_ingrediente = this.id_ingrediente;
            aiu.AlterIngrediente(aiu);
        }