Esempio n. 1
0
        public ActionResult ApproveWish(int WishId)
        {
            var user = Session["userId"] ?? "";
            if (user.ToString() == "")
                return Redirect("~/Login/Index");

            IWishServers wishServers = new WishServers();
            wishServers.ApproveAWish((int)WishId);
            var wishlist = wishServers.GetLoverWishesList((int)user);

            return View("ReviewPage", GetWishList(wishlist));
        }