public DataTable Get_allbebest() { bebestibleDAL bd = new bebestibleDAL(); DataTable dt = bd.GetallBebest(); return(dt); }
public DataTable GetBebHabilitado() { bebestibleDAL bebDAL = new bebestibleDAL(); DataTable dt = bebDAL.ListAllBebestiblesHab(); return(dt); }
public DataTable Get_BebestibleByName(string nombre_bebestible) { bebestibleDAL bd = new bebestibleDAL(); DataTable dt = bd.Get_bebestibleByName(nombre_bebestible); return(dt); }
public DataTable getBebestible() { bebestibleDAL li = new bebestibleDAL(); DataTable dt = li.getBebestible(); return(dt); }
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)); }
public bool UpdateStockAddBeb(int id, int cantidad) { bebestibleDAL bebDAL = new bebestibleDAL(); return(bebDAL.AgregaBebestibleStock(id, cantidad)); }
public bool UpdateOnlyStockBeb(int id, int cantidad) { bebestibleDAL bebDAL = new bebestibleDAL(); return(bebDAL.SetOnlyBebestibleStock(id, cantidad)); }
public double GetStock(int id) { bebestibleDAL bebDAL = new bebestibleDAL(); return(bebDAL.GetStockBebestible(id)); }
public int Get_bebyid(string nom) { bebestibleDAL pd = new bebestibleDAL(); return(pd.Get_bebyid(nom)); }
public DataTable Get_bebCritico() { bebestibleDAL bd = new bebestibleDAL(); return(bd.Get_beb_critico()); }