public DataTable getbeb_garzon() { BebestibleDAL beb = new BebestibleDAL(); DataTable dt = beb.Get_garzon_beb(); return(dt); }
public DataTable Allbebestible() { BebestibleDAL li = new BebestibleDAL(); DataTable dt = li.Get_allbebestible(); return(dt); }
public DataTable NombreBebestibleList(string nombre_beb) { BebestibleDAL bebe = new BebestibleDAL(); DataTable dt = bebe.BusarBebestiblenombre(nombre_beb); return(dt); }
public DataTable listarmodificar(int id_bebestible) { BebestibleDAL li = new BebestibleDAL(); DataTable dt = li.listarparamodi(id_bebestible); return(dt); }
public void Alterinhabilitado(BebestibleBLL objaux) { BebestibleDAL aiu = new BebestibleDAL(); aiu.id_bebestible = this.id_bebestible; aiu.Altereliminar(aiu); }
public DataTable getbeborden_listo() { BebestibleDAL beb = new BebestibleDAL(); DataTable dt = beb.Get_beb_orden_listo(); return(dt); }
public DataTable getbeborden_preparacion() { BebestibleDAL beb = new BebestibleDAL(); DataTable dt = beb.Get_beb_orden_preparacion(); return(dt); }
public void Alterinestado_espera(BebestibleBLL objaux) { BebestibleDAL alt = new BebestibleDAL(); alt.numero_pedido = this.numero_pedido; alt.Altereestado_espera(alt); }
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)); }
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)); }
public void Alter_bebestible_Despachado(int orden, int beb) { BebestibleDAL alt = new BebestibleDAL(); alt.alter_bebestible_Desp(orden, beb); }
public int Get_bebyid(string nom) { BebestibleDAL pd = new BebestibleDAL(); return(pd.Get_bebyid(nom)); }