Exemple #1
0
        public DataTable getbeb_garzon()
        {
            BebestibleDAL beb = new BebestibleDAL();
            DataTable     dt  = beb.Get_garzon_beb();

            return(dt);
        }
Exemple #2
0
        public DataTable Allbebestible()
        {
            BebestibleDAL li = new BebestibleDAL();
            DataTable     dt = li.Get_allbebestible();

            return(dt);
        }
Exemple #3
0
        public DataTable NombreBebestibleList(string nombre_beb)
        {
            BebestibleDAL bebe = new BebestibleDAL();
            DataTable     dt   = bebe.BusarBebestiblenombre(nombre_beb);

            return(dt);
        }
Exemple #4
0
        public DataTable listarmodificar(int id_bebestible)
        {
            BebestibleDAL li = new BebestibleDAL();
            DataTable     dt = li.listarparamodi(id_bebestible);

            return(dt);
        }
Exemple #5
0
        public void Alterinhabilitado(BebestibleBLL objaux)
        {
            BebestibleDAL aiu = new BebestibleDAL();

            aiu.id_bebestible = this.id_bebestible;
            aiu.Altereliminar(aiu);
        }
Exemple #6
0
        public DataTable getbeborden_listo()
        {
            BebestibleDAL beb = new BebestibleDAL();
            DataTable     dt  = beb.Get_beb_orden_listo();

            return(dt);
        }
Exemple #7
0
        public DataTable getbeborden_preparacion()
        {
            BebestibleDAL beb = new BebestibleDAL();
            DataTable     dt  = beb.Get_beb_orden_preparacion();

            return(dt);
        }
Exemple #8
0
        public void Alterinestado_espera(BebestibleBLL objaux)
        {
            BebestibleDAL alt = new BebestibleDAL();

            alt.numero_pedido = this.numero_pedido;
            alt.Altereestado_espera(alt);
        }
Exemple #9
0
        public bool AddBebestible(BebestibleBLL objaux)
        {
            BebestibleDAL bd = new BebestibleDAL();

            bd.nombre_beb = this.nombre_beb;
            bd.marca      = this.marca;
            bd.precio     = this.precio;
            bd.stock      = this.stock;
            bd.stock_bar  = this.stock_bar;
            bd.imagen     = this.imagen;
            bd.habilitado = this.habilitado;
            bd.con_prep   = this.con_prep;
            return(bd.AgregarBebestible(bd));
        }
Exemple #10
0
        public void AlterinBebestible(BebestibleBLL objaux)
        {
            BebestibleDAL aiu = new BebestibleDAL();

            aiu.nombre_beb    = this.nombre_beb;
            aiu.marca         = this.marca;
            aiu.precio        = this.precio;
            aiu.stock         = this.stock;
            aiu.stock_bar     = this.stock_bar;
            aiu.habilitado    = this.habilitado;
            aiu.con_prep      = this.con_prep;
            aiu.id_bebestible = this.id_bebestible;
            aiu.AlterBebestible(aiu);
        }
        public int verificaStock(int id_plato)
        {
            BebestibleDAL bebDAL = new BebestibleDAL();

            return(bebDAL.verificaStock(id_plato));
        }
        public bool reduceStock(int id_plato, int cantidad)
        {
            BebestibleDAL bebDAL = new BebestibleDAL();

            return(bebDAL.reduceStock(id_plato, cantidad));
        }
        public bool agregarRelacion(int id_beb, int cantidad)
        {
            BebestibleDAL bebDAL = new BebestibleDAL();

            return(bebDAL.ingresaRelacion(id_beb, cantidad));
        }
Exemple #14
0
        public void Alter_bebestible_Despachado(int orden, int beb)
        {
            BebestibleDAL alt = new BebestibleDAL();

            alt.alter_bebestible_Desp(orden, beb);
        }
Exemple #15
0
        public int Get_bebyid(string nom)
        {
            BebestibleDAL pd = new BebestibleDAL();

            return(pd.Get_bebyid(nom));
        }