Exemple #1
0
 public PeopleController(IOrganizationPersonService organizationPersonService,
                         IAgencyOwner agencyOwner,
                         IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _agencyOwner = agencyOwner;
     _organizationPersonService = organizationPersonService;
 }
Exemple #2
0
 public BootstrapController(
     IOrganizationService organizationService,
     IOrganizationPersonService organizationPersonService,
     ILookupService lookupService,
     IPersonService personService,
     IUserInfo user)
 {
     _lookupService             = lookupService;
     _personService             = personService;
     _user                      = user;
     _organizationService       = organizationService;
     _organizationPersonService = organizationPersonService;
 }
 public OrganizationRecruiterService(
     ILogger <OrganizationRecruiterService> logger,
     IOrganizationService orgService,
     IUserInfo userInfo,
     IOrganizationPersonService organizationPersonService,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _logger     = logger;
     _orgService = orgService;
     _userInfo   = userInfo;
     _organizationPersonService = organizationPersonService;
     _personRepository          = UnitOfWork.RepositoryAsync <OrganizationPerson>();
 }
        public RegistrationService(
            IOrganizationPersonService organizationPersonService,
            UserManager <ApplicationUser> userManager,
            IPersonService personService,

            RegistrationEventHandlers events,
            ILogger <RegistrationService> logger,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            _organizationPersonService = organizationPersonService;
            _personService             = personService;
            _logger      = logger;
            _userManager = userManager;

            AddEventHandler(events);
        }
Exemple #5
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;
 }
Exemple #6
0
        public CandidateService(
            IRepositoryAsync <RecruitingAgreement> recruitingAgreements,
            IOrganizationPersonService organizationPersonService,
            IIndividualBonusIntentService individualBonusIntents,
            IOrganizationBonusIntentService organizationBonusIntents,
            ILogger <CandidateService> logger,
            IUserInfo userInfo,
            MultiCandidateEventsHandler events,
            IServiceProvider serviceProvider)
            : base(serviceProvider)
        {
            _recruitingAgreements      = recruitingAgreements;
            _organizationPersonService = organizationPersonService;
            _individualBonusIntents    = individualBonusIntents;
            _organizationBonusIntents  = organizationBonusIntents;
            _recruiterRepository       = UnitOfWork.RepositoryAsync <OrganizationRecruiter>();
            _applicationUsers          = UnitOfWork.RepositoryAsync <ApplicationUser>();
            _logger   = logger;
            _userInfo = userInfo;

            AddEventHandler(events);
        }
Exemple #7
0
 public CustomerAccountService(
     IServiceProvider serviceProvider,
     IOrganizationCustomerService customerService,
     IOrganizationService organizationService,
     IOrganizationPersonService orgPersonService,
     IPersonService personService,
     IUserInfo userInfo,
     ILogger <CustomerAccountService> logger,
     IOrganizationAccountManagerService accountManagerService)
     : base(serviceProvider)
 {
     _customerService     = customerService;
     _organizationService = organizationService;
     _personService       = personService;
     _userInfo            = userInfo;
     _logger = logger;
     _accountManagerService = accountManagerService;
     _marketingAgreements   = UnitOfWork.RepositoryAsync <MarketingAgreement>();
     _customers             = UnitOfWork.RepositoryAsync <Customer>();
     _organizations         = UnitOfWork.RepositoryAsync <Organization>();
     _leads            = UnitOfWork.RepositoryAsync <Lead>();
     _applicationUsers = UnitOfWork.RepositoryAsync <ApplicationUser>();
 }