public async Task <IActionResult> RemoveVariant(CartVariantDto cartVariantDto) { await _cartRepository.RemoveVariant(cartVariantDto.CartId, cartVariantDto.ProductVariantId); return(Ok()); }
public async Task <IActionResult> Clear(CartVariantDto cartVariantDto) { await _cartRepository.Clear(cartVariantDto.CartId); return(Ok()); }