public EmailEmployerNewsletterTask(IEmailsCommand emailsCommand, IEmployersQuery employersQuery, IUserAccountsQuery userAccountsQuery, IAllocationsQuery allocationsQuery, IRecruitersQuery recruitersQuery) : base(EventSource, emailsCommand) { _employersQuery = employersQuery; _userAccountsQuery = userAccountsQuery; _allocationsQuery = allocationsQuery; _recruitersQuery = recruitersQuery; }
public Worker(ICandidatesWorkflowCommand workflowCommand, IExecuteJobAdSearchCommand searchCommand, IJobAdsQuery jobAdsQuery, IEmailsCommand emailsCommand, IMembersQuery membersQuery, IUserAccountsQuery userAccountsQuery) { _workflowCommand = workflowCommand; _jobAdSearchCommand = searchCommand; _jobAdsQuery = jobAdsQuery; _emailsCommand = emailsCommand; _membersQuery = membersQuery; _userAccountsQuery = userAccountsQuery; MaxResults = 10; // default }
public EmployersController(IEmployersQuery employersQuery, ILoginCredentialsQuery loginCredentialsQuery, ICandidateReportsQuery candidateReportsQuery, IMemberSearchesQuery memberSearchesQuery, IExecuteMemberSearchCommand executeMemberSearchCommand, IOrganisationsQuery organisationsQuery, IRecruitersQuery recruitersQuery, IUserAccountsQuery userAccountsQuery, IMemberSearchReportsQuery memberSearchReportsQuery, IEmployerMemberAccessReportsQuery employerMemberAccessReportsQuery) { _employersQuery = employersQuery; _loginCredentialsQuery = loginCredentialsQuery; _candidateReportsQuery = candidateReportsQuery; _memberSearchesQuery = memberSearchesQuery; _executeMemberSearchCommand = executeMemberSearchCommand; _organisationsQuery = organisationsQuery; _recruitersQuery = recruitersQuery; _userAccountsQuery = userAccountsQuery; _memberSearchReportsQuery = memberSearchReportsQuery; _employerMemberAccessReportsQuery = employerMemberAccessReportsQuery; }