예제 #1
0
        public ClientOrganizationService(IClientOrganizationRepository clientOrganizationRepository)
        {
            this.clientOrganizationRepository = clientOrganizationRepository;

            expenditureWaybillIndicatorService = IoCContainer.Resolve <IExpenditureWaybillIndicatorService>();
            dealService         = IoCContainer.Resolve <IDealService>();
            organizationService = IoCContainer.Resolve <IOrganizationService>();
        }
예제 #2
0
        public DealIndicatorService(IDealRepository dealRepository, IExpenditureWaybillRepository expenditureWaybillRepository,
                                    IReturnFromClientWaybillRepository returnFromClientWaybillRepository, IDealPaymentDocumentRepository dealPaymentDocumentRepository,
                                    IClientRepository clientRepository, IClientContractRepository clientContractRepository, IAccountOrganizationRepository accountOrganizationRepository,
                                    IClientOrganizationRepository clientOrganizationRepository, IEconomicAgentRepository economicAgentRepository, ISaleWaybillIndicatorService saleWaybillIndicatorService,
                                    IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService, IAcceptedSaleIndicatorService acceptedSaleIndicatorService,
                                    IPermissionDistributionService permissionDistributionService, ITeamRepository teamRepository)
        {
            this.dealRepository = dealRepository;
            this.expenditureWaybillRepository      = expenditureWaybillRepository;
            this.clientRepository                  = clientRepository;
            this.clientContractRepository          = clientContractRepository;
            this.accountOrganizationRepository     = accountOrganizationRepository;
            this.clientOrganizationRepository      = clientOrganizationRepository;
            this.economicAgentRepository           = economicAgentRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;
            this.dealPaymentDocumentRepository     = dealPaymentDocumentRepository;
            this.teamRepository = teamRepository;

            this.saleWaybillIndicatorService        = saleWaybillIndicatorService;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;
            this.acceptedSaleIndicatorService       = acceptedSaleIndicatorService;
            this.permissionDistributionService      = permissionDistributionService;
        }