Example #1
0
        public async Task <IActionResult> UpdateQuantity(int productId, int quantity)
        {
            var userId = GetOrCreateUserId();

            return(Json(await _basketViewModelService.UpdateQuantity(userId, productId, quantity)));
        }