Exemple #1
0
 public CheckoutApi(IOrderRepository orderRepository, EmailSender emailSender,
                    OrderOperations orderOperations, BasketOperations basketOperations)
 {
     this.orderRepository  = orderRepository;
     this.emailSender      = emailSender;
     this.orderOperations  = orderOperations;
     this.basketOperations = basketOperations;
 }
Exemple #2
0
 public BasketApi(IProductRepository productRepository, BasketOperations basketOperations)
 {
     this.productRepository = productRepository;
     this.basketOperations  = basketOperations;
 }