예제 #1
0
        public ActionResult AddTOCart(int productId)
        {
            var userId = Current.User.Identity.GetUserId();

            service.AddTOCart(userId, productId);
            return(View("Index", CartServices.GetAllProducts()));
        }