public DeliveryOrderDetailWindow(IDeliveryShipmentService deliveryShipmentService, IMapper mapper,
                                  IOptions <AppSettings> settings)
 {
     _deliveryShipmentService = deliveryShipmentService;
     _mapper   = mapper;
     _settings = settings.Value;
     InitializeComponent();
 }
Exemplo n.º 2
0
 public DeliveryOrderUpdateWindow(IMarketService marketService, IMapper mapper, IOptions <AppSettings> settings,
                                  IDeliveryShipmentService deliveryShipmentService, IGoodsInMarketService goodsInMarketService,
                                  IConsignmentService consignmentService)
 {
     _marketService           = marketService;
     _mapper                  = mapper;
     _deliveryShipmentService = deliveryShipmentService;
     _goodsInMarketService    = goodsInMarketService;
     _consignmentService      = consignmentService;
     _settings                = settings.Value;
     InitializeComponent();
 }
        public GoodsWriteOffPage(IGoodsWriteOffService goodsWriteOffService,
                                 IWriteOffReasonService writeOffReasonService,
                                 IDeliveryShipmentService deliveryShipmentService,
                                 IGoodsInMarketService goodsInMarketService,
                                 IGoodsService goodsService,
                                 IOptions <AppSettings> settings, IMapper mapper)
        {
            _goodsWriteOffService    = goodsWriteOffService;
            _writeOffReasonService   = writeOffReasonService;
            _deliveryShipmentService = deliveryShipmentService;
            _goodsInMarketService    = goodsInMarketService;
            _goodsService            = goodsService;
            _mapper   = mapper;
            _settings = settings.Value;

            InitializeComponent();

            ShipmentDateComboBox.IsEnabled = false;
        }