public WishlistViewModel(Wishlist w) { Runtime = RuntimeInfo.Instance; activeUser = Runtime.LoggedInUser; selectedWishlist = w; removeItemCommand = new RemoveWishlistItemCommand(this); buyItemCommand = new BuyItemCommand(this); }
public WishlistViewModel(Wishlist w) { Runtime = RuntimeInfo.Instance; activeUser = Runtime.LoggedInUser; Runtime.SetupSelectedWishlist(w); selectedWishlist = Runtime.AppController.SelectedWishlist; removeItemCommand = new RemoveWishlistItemCommand(this); buyItemCommand = new BuyItemCommand(this); }