public ProductController(NotificationContext notificationContext, IClientApplicationService clientService, IProductApplicationService productService, ITrackingApplicationService trackingService)
     : base(notificationContext)
 {
     _clientAppService   = clientService;
     _productAppService  = productService;
     _trackingAppService = trackingService;
 }
示例#2
0
 public TrackingController(ITrackingApplicationService boxTrackingApplicationService, IBoxApplicationService boxApplicationService,
                           IProductApplicationService productApplicationService, IClientApplicationService clientApplicationService)
 {
     _boxApplicationService         = boxApplicationService;
     _productApplicationService     = productApplicationService;
     _boxTrackingApplicationService = boxTrackingApplicationService;
     _clientApplicationService      = clientApplicationService;
 }
示例#3
0
 public BoxController(IBoxApplicationService boxApplicationService, IProductApplicationService productApplicationService,
                      IClientApplicationService clientService, ITrackingApplicationService trackingService)
 {
     _boxApplicationService     = boxApplicationService;
     _productApplicationService = productApplicationService;
     _trackingService           = trackingService;
     _clientService             = clientService;
 }
示例#4
0
        public void LoadViewDataTracking(ITrackingApplicationService trackingAppService)
        {
            var trackingsTypes = trackingAppService.GetAllTrackingsTypesByPlace()
                                 .Select(trace => new SelectListItem
            {
                Value = trace.DT_RowId,
                Text  = trace.Description
            }).ToList();

            ViewData["TrackingTypes"] = trackingsTypes;
        }
 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;
 }