Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [AcceptVerbs(HttpVerbs.Get)]
- public ActionResult GetWishListItemsForTabs(string wishlistId) {
- var wishListId = string.IsNullOrEmpty(wishlistId) ? Convert.ToInt64(new XorHash().Decrypt(wishlistId)) : 0;
- var model = new WishListModel(WishList.ReferralTypeEnum.CartWishList, 2);
- if (model.IsWishlistOwner) return Json(WishListHtmlDictionary(wishListId));
- Response.StatusCode = (int) HttpStatusCode.InternalServerError;
- return Json(new {responseText = "User is not owner of the requested wishlist" });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement