Exemple #1
0
        public DataTable Get_allbebest()
        {
            bebestibleDAL bd = new bebestibleDAL();
            DataTable     dt = bd.GetallBebest();

            return(dt);
        }
Exemple #2
0
        public DataTable GetBebHabilitado()
        {
            bebestibleDAL bebDAL = new bebestibleDAL();
            DataTable     dt     = bebDAL.ListAllBebestiblesHab();

            return(dt);
        }
Exemple #3
0
        public DataTable Get_BebestibleByName(string nombre_bebestible)
        {
            bebestibleDAL bd = new bebestibleDAL();
            DataTable     dt = bd.Get_bebestibleByName(nombre_bebestible);

            return(dt);
        }
Exemple #4
0
        public DataTable getBebestible()
        {
            bebestibleDAL li = new bebestibleDAL();
            DataTable     dt = li.getBebestible();

            return(dt);
        }
Exemple #5
0
        public bool btnAceptar(bebestibleBLL objaux)
        {
            bebestibleDAL bbd = new bebestibleDAL();

            bbd.id_bebestible = this.id_bebestible;
            bbd.nombre_ins    = this.nombre_ins;
            bbd.stock         = this.stock;
            return(bbd.SolicitarBebestible(bbd));
        }
Exemple #6
0
        public bool UpdateStockAddBeb(int id, int cantidad)
        {
            bebestibleDAL bebDAL = new bebestibleDAL();

            return(bebDAL.AgregaBebestibleStock(id, cantidad));
        }
Exemple #7
0
        public bool UpdateOnlyStockBeb(int id, int cantidad)
        {
            bebestibleDAL bebDAL = new bebestibleDAL();

            return(bebDAL.SetOnlyBebestibleStock(id, cantidad));
        }
Exemple #8
0
        public double GetStock(int id)
        {
            bebestibleDAL bebDAL = new bebestibleDAL();

            return(bebDAL.GetStockBebestible(id));
        }
Exemple #9
0
        public int Get_bebyid(string nom)
        {
            bebestibleDAL pd = new bebestibleDAL();

            return(pd.Get_bebyid(nom));
        }
Exemple #10
0
        public DataTable Get_bebCritico()
        {
            bebestibleDAL bd = new bebestibleDAL();

            return(bd.Get_beb_critico());
        }