示例#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;
        }