예제 #1
0
        public async Task <IActionResult> RemoveVariant(CartVariantDto cartVariantDto)
        {
            await _cartRepository.RemoveVariant(cartVariantDto.CartId, cartVariantDto.ProductVariantId);

            return(Ok());
        }
예제 #2
0
        public async Task <IActionResult> Clear(CartVariantDto cartVariantDto)
        {
            await _cartRepository.Clear(cartVariantDto.CartId);

            return(Ok());
        }