예제 #1
0
 public OrderService(IOrderRepository orderRepository, IInvoiceApiClient invoiceApiClient, INotificationService notificationService, CartsCache cache)
 {
     this.orderRepository     = orderRepository;
     this.invoiceApiClient    = invoiceApiClient;
     this.notificationService = notificationService;
     this.cache = cache;
 }
예제 #2
0
 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;
 }