public UpdateCartService(IRedisCacheClient redisCacheClient, ILogger <UpdateCartService> logger, IConfiguration configuration, IGetCartItems getCartItems) { _redisCacheClient = redisCacheClient; _logger = logger; _config = configuration; _getCartItems = getCartItems; }
public CartController(IUpdateCartService cartService, ILogger <CartController> logger, IConfiguration configuration, IGetCartItems getCartItems) { _cartService = cartService; _logger = logger; _config = configuration; _getCartItems = getCartItems; }