Exemple #1
0
        public ContractService(
            IServiceProvider serviceProvider,
            IOrganizationService organizationService,
            IOrganizationAccountManagerService amService,
            IOrganizationProjectManagerService pmService,
            IOrganizationRecruiterService reService,
            IOrganizationMarketerService maService,
            IOrganizationContractorService coService,
            IOrganizationCustomerService cuService,
            IUserInfo userInfo,
            MultiContractEventHandler multiHandler,
            StoryEventHandlers storyEvents,
            ILogger <ContractService> logger) : base(serviceProvider)
        {
            _organizationService = organizationService;
            _amService           = amService;
            _pmService           = pmService;
            _reService           = reService;
            _maService           = maService;
            _coService           = coService;
            _cuService           = cuService;
            _userInfo            = userInfo;
            _logger = logger;

            _projectRepository    = UnitOfWork.RepositoryAsync <Project>();
            _recruitingAgreements = UnitOfWork.RepositoryAsync <RecruitingAgreement>();
            _customerAccounts     = UnitOfWork.RepositoryAsync <CustomerAccount>();

            AddEventHandler(multiHandler, storyEvents);
        }
 public OrganizationController(
     IOrganizationRecruiter recruiter,
     IOrganizationRecruiterService recruiterService,
     IServiceProvider provider) : base(provider)
 {
     _recruiter        = recruiter;
     _recruiterService = recruiterService;
 }
 public RecruiterController(
     IServiceProvider serviceProvider,
     IAgencyOwner agencyOwner,
     IOrganizationRecruiterService recruiterService
     ) : base(serviceProvider)
 {
     _agencyOwner      = agencyOwner;
     _recruiterService = recruiterService;
 }
 public RecruiterController(
     IServiceProvider serviceProvider,
     IOrganizationAccountManager accountManager,
     IOrganizationRecruiterService recruiterService
     ) : base(serviceProvider)
 {
     _accountManager   = accountManager;
     _recruiterService = recruiterService;
 }
 public TimeMatrixService(AppDbContext context, IOrganizationContractorService contractorService,
                          IOrganizationRecruiterService recruiterService, IOrganizationMarketerService marketerService,
                          IOrganizationProjectManagerService projectManagerService,
                          IOrganizationAccountManagerService accountManagerService, IOrganizationCustomerService customerService,
                          IContractService contractService, IProjectService projectService, IStoryService storyService,
                          MapperConfiguration mapperConfiguration)
 {
     _mapperConfiguration   = mapperConfiguration;
     _context               = context;
     _contractorService     = contractorService;
     _recruiterService      = recruiterService;
     _marketerService       = marketerService;
     _projectManagerService = projectManagerService;
     _accountManagerService = accountManagerService;
     _customerService       = customerService;
     _contractService       = contractService;
     _projectService        = projectService;
     _storyService          = storyService;
 }
Exemple #6
0
 public PeopleController(
     IOrganizationMarketerService marketerService,
     IOrganizationRecruiterService recruiterService,
     IOrganizationProjectManagerService projectManagerService,
     IOrganizationAccountManagerService accountManagerService,
     IOrganizationCustomerService customerService,
     IOrganizationContractorService contractorService,
     IOrganizationPersonService personService,
     IOrganizationAccountManager accountManager,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _marketerService       = marketerService;
     _recruiterService      = recruiterService;
     _projectManagerService = projectManagerService;
     _accountManagerService = accountManagerService;
     _customerService       = customerService;
     _contractorService     = contractorService;
     _accountManager        = accountManager;
     _personService         = personService;
 }