예제 #1
0
        //Add personal wishlist
        public void AddOwnWishlist(Wishlist wishlist)
        {
            UserWishlist userWishlist = new UserWishlist(this.UserId, wishlist.WishlistId, this, wishlist, false);

            OwnWishlists.Add(userWishlist);
            wishlist.WishlistOwner = userWishlist;
        }
예제 #2
0
        //Add personal Favorite wishlist
        public void AddFavoriteWishlist(Wishlist wishlist)
        {
            UserWishlist userWishlist = new UserWishlist(this.UserId, wishlist.WishlistId, this, wishlist, true);

            OwnWishlists.Add(userWishlist);
            wishlist.WishlistOwner = userWishlist;
        }