public SaleDetailWindow(IBasketService basketService, IBasketOwnService basketOwnService,
                                IOptions <AppSettings> settings, IMapper mapper)
        {
            _basketService    = basketService;
            _basketOwnService = basketOwnService;
            _settings         = settings.Value;
            _mapper           = mapper;

            InitializeComponent();
        }
        public SaleWindow(ISaleService saleService, IOptions <AppSettings> settings, IMapper mapper,
                          IBasketOwnService basketOwnService, IBasketService basketService,
                          IGoodsInMarketService goodsInMarketService, IGoodsInMarketOwnService goodsInMarketOwnService)
        {
            _saleService             = saleService;
            _settings                = settings.Value;
            _mapper                  = mapper;
            _basketOwnService        = basketOwnService;
            _basketService           = basketService;
            _goodsInMarketService    = goodsInMarketService;
            _goodsInMarketOwnService = goodsInMarketOwnService;

            InitializeComponent();
        }
        public GoodsInMarketOwnPage(IGoodsInMarketOwnService goodsInMarketOwnService, IMarketService marketService,
                                    IProductionService productionService, IOptions <AppSettings> settings, IMapper mapper,
                                    IGoodsOwnService goodsOwnService, IBasketOwnService basketOwnService,
                                    IGoodsWriteOffOwnService goodsWriteOffOwnService, ICategoryService categoryService)
        {
            _goodsInMarketOwnService = goodsInMarketOwnService;
            _marketService           = marketService;
            _productionService       = productionService;
            _settings                = settings.Value;
            _mapper                  = mapper;
            _goodsOwnService         = goodsOwnService;
            _basketOwnService        = basketOwnService;
            _goodsWriteOffOwnService = goodsWriteOffOwnService;
            _categoryService         = categoryService;

            InitializeComponent();

            ProductionComboBox.IsEnabled = false;
        }