public OrderService(IOrderRepository orderRepository, IInvoiceApiClient invoiceApiClient, INotificationService notificationService, CartsCache cache) { this.orderRepository = orderRepository; this.invoiceApiClient = invoiceApiClient; this.notificationService = notificationService; this.cache = cache; }
public CartController( CartsCache cache, IInventoryApiClient inventoryApiClient, ICartService cartService, IOrderService orderService, IUserApiClient userApiClient) : base() { this.cache = cache; this.inventoryApiClient = inventoryApiClient; this.cartService = cartService; this.orderService = orderService; this.userApiClient = userApiClient; }