Ejemplo n.º 1
0
        public ActionResult Checkout(OrderWatchList OrderWatchList)
        {
            var wishListItems = watchListService.GetWatchListItems(this.HttpContext);

            OrderWatchList.ListStatus = "List Created";
            OrderWatchList.Email      = User.Identity.Name;

            orderWatchListService.CreateOrderWatchList(OrderWatchList, wishListItems);
            watchListService.ClearWatchList(this.HttpContext);

            return(RedirectToAction("ThankYou", new { OrderId = OrderWatchList.Id }));
        }