Пример #1
0
        public WorldService(ICompanyEmployeeRepository companyEmployeeRepository, IContractRepository contractRepository, IContractService contractService,
                            ICitizenRepository citizenRepository, IConfigurationRepository configurationRepository, IEquipmentRepository equipmentRepository,
                            IPartyService partyService, ICongressCandidateService congressCandidateService, ICongressVotingService congressVotingService,
                            ICountryService countryService, IBattleService battleService, IRegionService regionService, ICompanyService companyService,
                            IEmbargoService embargoService, IWarService warService, IEmployeeService employeeService, IMPPService mppService, IWalletService walletService,
                            INewDayRepository newDayRepository, IHotelService hotelService, IHouseService houseService)
        {
            this.citizenRepository         = citizenRepository;
            this.configurationRepository   = configurationRepository;
            this.equipmentRepository       = equipmentRepository;
            this.companyEmployeeRepository = companyEmployeeRepository;
            this.contractRepository        = contractRepository;
            this.contractService           = contractService;
            this.partyService             = partyService;
            this.congressCandidateService = congressCandidateService;
            this.congressVotingService    = congressVotingService;
            this.countryService           = countryService;
            this.battleService            = battleService;
            this.regionService            = regionService;
            this.companyService           = companyService;
            this.embargoService           = embargoService;
            this.warService       = warService;
            this.employeeService  = employeeService;
            this.mppService       = mppService;
            this.walletService    = Attach(walletService);
            this.newDayRepository = newDayRepository;
            this.hotelService     = hotelService;
            this.houseService     = houseService;

            citizenRepository.SetTimeout(300);
            equipmentRepository.SetTimeout(300);
        }
Пример #2
0
 public CompanyService(ICitizenService citizenService, IConfigurationRepository configurationRepository,
                       IEquipmentRepository equipmentRepository, IProductService productService, IProductRepository productRepository,
                       ICitizenRepository citizenRepository, ITransactionsService transactionService,
                       IJobOfferService jobOfferService, ICompanyEmployeeRepository companyEmployeeRepository,
                       ICompanyRepository companyRepository, IEntityService entityService, ICompanyManagerRepository companyManagerRepository,
                       IRegionRepository regionRepository, IWarningService warningService, IJobOfferRepository jobOfferRepository,
                       IEquipmentService equipmentService, IContractService contractService, IWalletService walletService, IPopupService popupService,
                       IRegionService regionService, ICompanyFinanceSummaryService companyFinanceSummaryService)
 {
     this.companyRepository         = companyRepository;
     this.entityService             = entityService;
     this.companyManagerRepository  = companyManagerRepository;
     this.jobOfferService           = jobOfferService;
     this.companyEmployeeRepository = companyEmployeeRepository;
     this.citizenRepository         = citizenRepository;
     this.transactionService        = transactionService;
     this.equipmentRepository       = equipmentRepository;
     this.productService            = productService;
     this.productRepository         = productRepository;
     this.citizenService            = Attach(citizenService);
     this.configurationRepository   = configurationRepository;
     this.regionRepository          = regionRepository;
     this.warningService            = Attach(warningService);
     this.jobOfferRepository        = jobOfferRepository;
     this.equipmentService          = Attach(equipmentService);
     this.contractService           = Attach(contractService);
     this.walletService             = Attach(walletService);
     this.popupService  = Attach(popupService);
     this.regionService = Attach(regionService);
     this.companyFinanceSummaryService = Attach(companyFinanceSummaryService);
 }
Пример #3
0
 public RemovalService(IEntityRepository entityRepository, ITradeService tradeService, ICompanyEmployeeRepository companyEmployeeRepository, IWarningService warningService)
 {
     this.entityRepository          = entityRepository;
     this.tradeService              = tradeService;
     this.companyEmployeeRepository = companyEmployeeRepository;
     this.warningService            = warningService;
 }
Пример #4
0
        //private MembershipUser _currentUser;
        #endregion

        #region Ctor

        public CompanyEmployeeService(ICompanyEmployeeRepository companyEmployeeRepository, ICategoryRepository categoryRepository,
                                      IWorkContext workContext, IEmployeeBaseInfoRepository employeeBaseInfoRepository, IImportExportService importExportService,
                                      ICompanyService companyService, IEmployeeWorkHistoryService employeeWorkHistoryService)
        {
            _companyEmployeeRepository  = companyEmployeeRepository;
            _employeeBaseInfoRepository = employeeBaseInfoRepository;
            _categoryRepository         = categoryRepository;
            _workContext                = workContext;
            _importExportService        = importExportService;
            _companyService             = companyService;
            _employeeWorkHistoryService = employeeWorkHistoryService;
        }
Пример #5
0
 public CompaniesController(
     ICompanyRepository companyRepository,
     IEmployeeRepository employeeRepository,
     ILocationRepository locationRepository,
     ICompanyEmployeeRepository companyEmployeeRepository,
     ICompanyLocationRepository companyLocationRepository,
     ICompanyProductRepository companyProductRepository)
 {
     _companyRepository         = companyRepository;
     _employeeRepository        = employeeRepository;
     _locationRepository        = locationRepository;
     _companyEmployeeRepository = companyEmployeeRepository;
     _companyLocationRepository = companyLocationRepository;
     _companyProductRepository  = companyProductRepository;
 }
Пример #6
0
 public HealthResultService(IHealthResultRepository healthResultRepository
                            , IWorkContext workContext
                            , IImportExportService importExportService
                            , IEmployeeBaseInfoRepository employeeBaseInfoRepository
                            , ICompanyEmployeeRepository companyEmployeeRepository
                            , ICompanyRepository companyRepository
                            )
 {
     _healthResultRepository     = healthResultRepository;
     _workContext                = workContext;
     _importExportService        = importExportService;
     _employeeBaseInfoRepository = employeeBaseInfoRepository;
     _companyEmployeeRepository  = companyEmployeeRepository;
     _companyRepository          = companyRepository;
 }
Пример #7
0
 public ContractService(IContractRepository contractRepository, ICompanyEmployeeRepository companyEmployeeRepository, IWarningService warningService)
 {
     this.contractRepository        = contractRepository;
     this.companyEmployeeRepository = companyEmployeeRepository;
     this.warningService            = Attach(warningService);
 }
Пример #8
0
 public EmployeeService(ICompanyEmployeeRepository employeeRepository, IWarningService warningService)
 {
     this.employeeRepository = employeeRepository;
     this.warningService     = Attach(warningService);
 }
 public ManageEmployeeViewModelValidator(ModelStateDictionary ModelState, ICompanyEmployeeRepository companyEmployeeRepository) : base(ModelState)
 {
     this.companyEmployeeRepository = companyEmployeeRepository;
 }