Пример #1
0
 protected void Button_AceptarWishlist_Click(object sender, EventArgs e)
 {
     ControllerWishList _wishlist = new ControllerWishList();
     int index = GridView_WishList.SelectedIndex;
     _wishlist.cambiarEstadoRecomendacion(index, "Aceptada");
     llenarWishlist();
 }
Пример #2
0
 public void llenarWishlist()
 {
     ControllerWishList _controllerWishList = new ControllerWishList();
     GridView_WishList.DataSource = _controllerWishList.mostrarWishlist();
     GridView_WishList.DataBind();
     Button_AceptarWishlist.Visible = false;
     Button_RechazarWishist.Visible = false;
     _controllerWishList.obtenerPropiedadesWishList();
 }