Exemple #1
0
        public ReturnFromClientWaybillService(ISettingRepository settingRepository, IReturnFromClientWaybillRepository returnFromClientWaybillRepository,
                                              ITeamRepository teamRepository, IDealRepository dealRepository, IStorageRepository storageRepository, IUserRepository userRepository, IArticlePriceService articlePriceService,
                                              IAcceptedSaleIndicatorService saleIndicatorService,
                                              IReturnFromClientService returnFromClientService, IFactualFinancialArticleMovementService factualFinancialArticleMovementService,
                                              IArticleMovementOperationCountService articleMovementOperationCountService,
                                              IArticleMovementService articleMovementService, IDealPaymentDocumentDistributionService dealPaymentDocumentDistributionService,
                                              IDealIndicatorService dealIndicatorService, IArticleRevaluationService articleRevaluationService, IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService,
                                              IArticleAvailabilityService articleAvailabilityService)
        {
            this.settingRepository = settingRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;
            this.teamRepository          = teamRepository;
            this.articlePriceService     = articlePriceService;
            this.saleIndicatorService    = saleIndicatorService;
            this.returnFromClientService = returnFromClientService;
            this.factualFinancialArticleMovementService = factualFinancialArticleMovementService;
            this.articleMovementOperationCountService   = articleMovementOperationCountService;
            this.articleMovementService = articleMovementService;

            this.articleRevaluationService = articleRevaluationService;
            this.dealPaymentDocumentDistributionService = dealPaymentDocumentDistributionService;
            this.dealIndicatorService = dealIndicatorService;
            this.dealRepository       = dealRepository;
            this.storageRepository    = storageRepository;
            this.userRepository       = userRepository;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;

            this.articleAvailabilityService = articleAvailabilityService;
        }
Exemple #2
0
        public WriteoffWaybillService(ISettingRepository settingRepository, IWriteoffWaybillRepository writeoffWaybillRepository, IStorageRepository storageRepository, IUserRepository userRepository, IArticleMovementService articleMovementService, IArticlePriceService articlePriceService,
                                      IFactualFinancialArticleMovementService factualFinancialArticleMovementService, IArticleMovementOperationCountService articleMovementOperationCountService,
                                      IArticleAvailabilityService articleAvailabilityService, IReceiptWaybillService receiptWaybillService, IArticleRevaluationService articleRevaluationService)
            : base(articleAvailabilityService)
        {
            this.settingRepository         = settingRepository;
            this.writeoffWaybillRepository = writeoffWaybillRepository;
            this.storageRepository         = storageRepository;
            this.userRepository            = userRepository;

            this.articleMovementService = articleMovementService;
            this.articlePriceService    = articlePriceService;

            this.factualFinancialArticleMovementService = factualFinancialArticleMovementService;
            this.articleMovementOperationCountService   = articleMovementOperationCountService;
            this.receiptWaybillService = receiptWaybillService;

            this.articleRevaluationService = articleRevaluationService;
        }
        public ChangeOwnerWaybillService(ISettingRepository settingRepository, IChangeOwnerWaybillRepository changeOwnerWaybillRepository, IArticleRepository articleRepository,
                                         IStorageRepository storageRepository, IUserRepository userRepository,
                                         IArticlePriceService articlePriceService, IArticleAvailabilityService articleAvailabilityService, IArticleMovementService articleMovementService,
                                         IReceiptWaybillService receiptWaybillService, IArticleRevaluationService articleRevaluationService)
            : base(articleAvailabilityService)
        {
            this.settingRepository            = settingRepository;
            this.changeOwnerWaybillRepository = changeOwnerWaybillRepository;
            this.articleRepository            = articleRepository;
            this.storageRepository            = storageRepository;
            this.userRepository = userRepository;

            this.articlePriceService    = articlePriceService;
            this.articleMovementService = articleMovementService;

            this.receiptWaybillService     = receiptWaybillService;
            this.articleRevaluationService = articleRevaluationService;

            articleMovementService.ChangeOwnerWaybillReadyToChangedOwner += new ChangeOwnerWaybillEvent(ChangeOwner);
        }