Пример #1
0
        public ActionResult AddProductToBasket(int productId)
        {
            var userId = WebSecurity.CurrentUserId;

            shopService.AddProductToBasket(productId, userId);
            return(RedirectToAction(nameof(ProductsList)));
        }