public PlataformaXProducto get(string id) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); //Validar si existe esa plataforma return(dao.getPlataformaxProducto(id)); }
public bool AltaPlataformaxProducto(PlataformaXProducto p) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); int FilasInsertadas = dao.AltaPlataformaxProducto(p); if (FilasInsertadas == 1) { return(true); } else { return(false); } }
public bool eliminarPxP(string id) { //Validar id existente DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); PlataformaXProducto p = new PlataformaXProducto(); p.setIdProducto(id); int op = dao.eliminarPlataformaxProducto(p); if (op == 1) { return(true); } else { return(false); } }
public DataTable getTablaProductosJuegosO(string cate, string sort, int modo) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getTablaProductosJuegosO(cate, sort, modo)); }
public DataTable getTablaProductosJuegosBusqueda(string busqueda, string sort, int modo) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getTablaProductosJuegosBusqueda(busqueda, sort, modo)); }
public DataTable getTablaProductosJuegos(string plat, string cate, int modo, string sort) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getTablaProductosJuegos(plat, cate, modo, sort)); }
public int modificarStockProducto(string codProd, string stock) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.modificarStockProducto(codProd, stock)); }
public string getStockProducto(string codProducto) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getStockProducto(codProducto)); }
public DataTable getImagenDetalleVenta(string codVenta) { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getImagenDetalleVenta(codVenta)); }
public DataTable getTabla() { DaoPlataformaxProducto dao = new DaoPlataformaxProducto(); return(dao.getTablaPlataformaxProducto()); }