Ejemplo n.º 1
0
 public OrderService(IOrderRepo orderRepo, IProductRepo productRepo, ICustomerRepo customerRepo, IPaymentService paymentService, IShipStuff shippingService)
 {
     _orderRepo       = orderRepo;
     _productRepo     = productRepo;
     _customerRepo    = customerRepo;
     _paymentService  = paymentService;
     _shippingService = shippingService;
 }
Ejemplo n.º 2
0
 public ShipperBuilder(IShipStuff fedExShipper, IShipStuff upsShipper)
 {
     _fedExShipper = fedExShipper;
     _upsShipper   = upsShipper;
 }