public WriteOffReasonPage(IWriteOffReasonService writeOffReasonService, IOptions <AppSettings> settings, IMapper mapper) { _writeOffReasonService = writeOffReasonService; _mapper = mapper; _settings = settings.Value; InitializeComponent(); UpdateDataGrid(); }
public GoodsWriteOffOwnPage(IGoodsWriteOffOwnService goodsWriteOffOwnService, IWriteOffReasonService writeOffReasonService, IGoodsInMarketOwnService goodsInMarketOwnService, IOptions <AppSettings> settings, IMapper mapper, IGoodsOwnService goodsOwnService) { _goodsWriteOffOwnService = goodsWriteOffOwnService; _writeOffReasonService = writeOffReasonService; _goodsInMarketOwnService = goodsInMarketOwnService; _mapper = mapper; _goodsOwnService = goodsOwnService; _settings = settings.Value; InitializeComponent(); GoodsInMarketComboBox.IsEnabled = false; }
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; }