Example #1
0
 public SaleController(IClientApplicationService clientService, IRouteApplicationService routeService,
                       IDeliveryApplicationService deliveryService, IProductApplicationService productService,
                       ISaleApplicationService saleService, IPaymentApplicationService paymentService,
                       IBoxApplicationService boxService)
 {
     _clientService   = clientService;
     _routeService    = routeService;
     _deliveryService = deliveryService;
     _productService  = productService;
     _saleService     = saleService;
     _paymentService  = paymentService;
     _boxService      = boxService;
 }
 public DeliveryController(IClientApplicationService clientService, IRouteApplicationService routeService,
                           IDeliveryApplicationService deliveryService, IProductApplicationService productService,
                           ISaleApplicationService saleService, ISecurityApplicationService securityService,
                           IBoxApplicationService boxService, ITrackingApplicationService trackingApplicationService)
 {
     _boxService                 = boxService;
     _clientService              = clientService;
     _routeService               = routeService;
     _deliveryService            = deliveryService;
     _productService             = productService;
     _saleService                = saleService;
     _securityService            = securityService;
     _trackingApplicationService = trackingApplicationService;
 }