Esempio n. 1
0
        public ActionResult DeleteGiftFromWishList(int giftId, int wishListId, string actionName)
        {
            _wishListService.DeleteGiftFromWishList(giftId, wishListId);

            if (actionName == "GetAllUsersWishListsOfGift")
            {
                return(RedirectToAction("GetAllUsersWishListsOfGift", new { giftId = giftId }));
            }

            return(new EmptyResult());
        }