public EmailSuggestedCandidatesTask(IEmailsCommand emailsCommand, IJobAdsQuery jobAdsQuery, ISuggestedMembersQuery suggestedMembersQuery, IEmployersQuery employersQuery, IEmployerMemberViewsQuery employerMemberViewsQuery, IEmployerCreditsQuery employerCreditsQuery, IMemberSearchesCommand memberSearchesCommand, IExecuteMemberSearchCommand executeMemberSearchCommand) : base(EventSource, emailsCommand) { _jobAdsQuery = jobAdsQuery; _suggestedMembersQuery = suggestedMembersQuery; _employersQuery = employersQuery; _employerMemberViewsQuery = employerMemberViewsQuery; _employerCreditsQuery = employerCreditsQuery; _memberSearchesCommand = memberSearchesCommand; _executeMemberSearchCommand = executeMemberSearchCommand; }
public void MemberSearchTestsInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); var connectionFactory = Resolve <IDataContextFactory>(); var locationQuery = Resolve <ILocationQuery>(); var industriesQuery = Resolve <IIndustriesQuery>(); _repository = new MembersRepository(connectionFactory, new MemberSearchCriteriaPersister(locationQuery, industriesQuery)); _memberSearchesCommand = new MemberSearchesCommand(_repository); _memberSearchesQuery = new MemberSearchesQuery(_repository); }
public SearchController(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesCommand memberSearchesCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IMemberSearchSuggestionsQuery memberSearchSuggestionsQuery, IMemberSearchesQuery memberSearchesQuery, ICandidateListsCommand candidateListsCommand, IEmployerCreditsQuery employerCreditsQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery) : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery) { _memberSearchSuggestionsQuery = memberSearchSuggestionsQuery; _memberSearchesCommand = memberSearchesCommand; _memberSearchesQuery = memberSearchesQuery; _candidateListsCommand = candidateListsCommand; _employerCreditsQuery = employerCreditsQuery; _locationQuery = locationQuery; _communitiesQuery = communitiesQuery; _verticalsQuery = verticalsQuery; _industriesQuery = industriesQuery; }
public SearchApiController(IExecuteMemberSearchCommand executeMemberSearchCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IMemberSearchesCommand memberSearchesCommand) : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery) { _memberSearchesCommand = memberSearchesCommand; }
public MemberSearchAlertsCommand(ISearchAlertsRepository repository, IMemberSearchesCommand memberSearchesCommand) { _repository = repository; _memberSearchesCommand = memberSearchesCommand; }