Esempio n. 1
0
 public BlockListsController(IExecuteJobAdSortCommand executeJobAdSortCommand, IJobAdsQuery jobAdsQuery, IJobAdBlockListsQuery jobAdBlockListsQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdProcessingQuery jobAdProcessingQuery, IJobAdFoldersCommand jobAdFoldersCommand, IJobAdFoldersQuery jobAdFoldersQuery, IEmployersQuery employersQuery, IIndustriesQuery industriesQuery)
     : base(executeJobAdSortCommand, jobAdsQuery, jobAdFlagListsQuery, memberJobAdViewsQuery, jobAdProcessingQuery, jobAdFoldersQuery, jobAdFoldersCommand, jobAdBlockListsQuery, industriesQuery, employersQuery)
 {
     _jobAdBlockListsQuery = jobAdBlockListsQuery;
     _communitiesQuery     = communitiesQuery;
     _verticalsQuery       = verticalsQuery;
 }
Esempio n. 2
0
 public FlagListsController(IExecuteMemberSearchCommand executeMemberSearchCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, ICandidateFlagListsQuery candidateFlagListsQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery)
     : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
 {
     _candidateFlagListsQuery = candidateFlagListsQuery;
     _communitiesQuery        = communitiesQuery;
     _verticalsQuery          = verticalsQuery;
 }
Esempio n. 3
0
 public CommunitiesController(ICommunitiesQuery communitiesQuery, ICustodianAccountsCommand custodianAccountsCommand, ICustodiansQuery custodiansQuery, IVerticalsCommand verticalsCommand, ILocationQuery locationQuery)
 {
     _communitiesQuery         = communitiesQuery;
     _custodianAccountsCommand = custodianAccountsCommand;
     _custodiansQuery          = custodiansQuery;
     _verticalsCommand         = verticalsCommand;
     _locationQuery            = locationQuery;
 }
Esempio n. 4
0
        public static Community GetCurrentCommunity(this ICommunitiesQuery communitiesQuery)
        {
            // Get the current community from the context.

            var id = ActivityContext.Current.Community.Id;

            return(id != null?communitiesQuery.GetCommunity(id.Value) : null);
        }
 public MaintainCustodiansController(IUserAccountsCommand userAccountsCommand, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, ICustodiansQuery custodiansQuery, ICommunitiesQuery communitiesQuery)
 {
     _userAccountsCommand     = userAccountsCommand;
     _loginCredentialsCommand = loginCredentialsCommand;
     _loginCredentialsQuery   = loginCredentialsQuery;
     _custodiansQuery         = custodiansQuery;
     _communitiesQuery        = communitiesQuery;
 }
Esempio n. 6
0
        public ManageCandidatesController(IExecuteMemberSearchCommand executeMemberSearchCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IJobAdsQuery jobAdsQuery, IJobAdApplicantsQuery jobAdApplicantsQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery)
            : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
        {
            _jobAdsQuery          = jobAdsQuery;
            _jobAdApplicantsQuery = jobAdApplicantsQuery;

            _communitiesQuery = communitiesQuery;
            _verticalsQuery   = verticalsQuery;
        }
Esempio n. 7
0
 public SearchController(IJobAdFoldersCommand jobAdFoldersCommand, IExecuteJobAdSearchCommand executeJobAdSearchCommand, IJobAdSearchesCommand jobAdSearchesCommand, IJobAdSearchesQuery jobAdSearchesQuery, IJobAdsQuery jobAdsQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery, IJobAdFoldersQuery jobAdFoldersQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdProcessingQuery jobAdProcessingQuery, IJobAdBlockListsQuery jobAdBlockListsQuery, IEmployersQuery employersQuery)
     : base(executeJobAdSearchCommand, jobAdsQuery, jobAdFlagListsQuery, memberJobAdViewsQuery, jobAdProcessingQuery, jobAdFoldersQuery, jobAdFoldersCommand, jobAdBlockListsQuery, employersQuery)
 {
     _jobAdSearchesCommand = jobAdSearchesCommand;
     _jobAdSearchesQuery   = jobAdSearchesQuery;
     _locationQuery        = locationQuery;
     _communitiesQuery     = communitiesQuery;
     _verticalsQuery       = verticalsQuery;
     _industriesQuery      = industriesQuery;
 }
Esempio n. 8
0
 public SuggestedCandidatesController(IExecuteMemberSearchCommand executeMemberSearchCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IJobAdsQuery jobAdsQuery, IExternalJobAdsQuery externalJobAdsQuery, ISuggestedMembersQuery suggestedMembersQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery)
     : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
 {
     _jobAdsQuery           = jobAdsQuery;
     _externalJobAdsQuery   = externalJobAdsQuery;
     _suggestedMembersQuery = suggestedMembersQuery;
     _locationQuery         = locationQuery;
     _communitiesQuery      = communitiesQuery;
     _verticalsQuery        = verticalsQuery;
     _industriesQuery       = industriesQuery;
 }
Esempio n. 9
0
 public VerticalsController(IVerticalsCommand verticalsCommand, IVerticalsQuery verticalsQuery, ICommunitiesQuery communitiesQuery, IWebSiteQuery webSiteQuery, IMembersQuery membersQuery, ICandidatesQuery candidatesQuery, IResumesQuery resumesQuery, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand)
 {
     _verticalsCommand            = verticalsCommand;
     _verticalsQuery              = verticalsQuery;
     _communitiesQuery            = communitiesQuery;
     _webSiteQuery                = webSiteQuery;
     _membersQuery                = membersQuery;
     _candidatesQuery             = candidatesQuery;
     _resumesQuery                = resumesQuery;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
 }
Esempio n. 10
0
 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;
 }
Esempio n. 11
0
 public CampaignsController(ICampaignsCommand campaignsCommand, ICampaignsQuery campaignsQuery, ICampaignEmailsCommand campaignEmailsCommand, ICampaignCriteriaCommand campaignCriteriaCommand, ISettingsQuery settingsQuery, IIndustriesQuery industriesQuery, ICommunitiesQuery communitiesQuery, IAdministratorsQuery administratorsQuery, ILoginCredentialsQuery loginCredentialsQuery, IEmployersQuery employersQuery, IMembersQuery membersQuery, ILocationQuery locationQuery)
 {
     _campaignsCommand        = campaignsCommand;
     _campaignsQuery          = campaignsQuery;
     _campaignEmailsCommand   = campaignEmailsCommand;
     _campaignCriteriaCommand = campaignCriteriaCommand;
     _settingsQuery           = settingsQuery;
     _industriesQuery         = industriesQuery;
     _communitiesQuery        = communitiesQuery;
     _administratorsQuery     = administratorsQuery;
     _loginCredentialsQuery   = loginCredentialsQuery;
     _employersQuery          = employersQuery;
     _membersQuery            = membersQuery;
     _locationQuery           = locationQuery;
 }
Esempio n. 12
0
        public static Guid?GetDefaultSearchCommunityId(this ICommunitiesQuery communitiesQuery, Employer employer)
        {
            // Check the current community.

            var community = communitiesQuery.GetCurrentCommunity();

            // If there is no current community then no community to search by.

            if (community == null)
            {
                return(null);
            }

            // If they cannot search all members then restrict them to the current community.

            return(employer.CanSearchAllMembers(community) ? (Guid?)null : community.Id);
        }
Esempio n. 13
0
 public OrganisationsController(IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, ILoginCredentialsQuery loginCredentialsQuery, IAdministratorsQuery administratorsQuery, IEmployerAccountsCommand employerAccountsCommand, IEmployersQuery employersQuery, IExecuteOrganisationSearchCommand executeOrganisationSearchCommand, ICommunitiesQuery communitiesQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ILocationQuery locationQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand, IEmailsCommand emailsCommand, IAccountReportsQuery accountReportsQuery)
 {
     _organisationsCommand             = organisationsCommand;
     _organisationsQuery               = organisationsQuery;
     _loginCredentialsQuery            = loginCredentialsQuery;
     _administratorsQuery              = administratorsQuery;
     _employerAccountsCommand          = employerAccountsCommand;
     _employersQuery                   = employersQuery;
     _executeOrganisationSearchCommand = executeOrganisationSearchCommand;
     _communitiesQuery                 = communitiesQuery;
     _industriesQuery                  = industriesQuery;
     _phoneNumbersQuery                = phoneNumbersQuery;
     _locationQuery       = locationQuery;
     _settingsQuery       = settingsQuery;
     _settingsCommand     = settingsCommand;
     _emailsCommand       = emailsCommand;
     _accountReportsQuery = accountReportsQuery;
 }
Esempio n. 14
0
 public AccountsManager(ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager, IDevAuthenticationManager devAuthenticationManager, IMemberAccountsCommand memberAccountsCommand, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ILoginCredentialsQuery loginCredentialsQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IPartnersQuery partnersQuery, ICookieManager cookieManager, IReferralsManager referralsManager, IProfilesCommand profilesCommand, IProfilesQuery profilesQuery)
 {
     _loginAuthenticationCommand = loginAuthenticationCommand;
     _authenticationManager      = authenticationManager;
     _devAuthenticationManager   = devAuthenticationManager;
     _memberAccountsCommand      = memberAccountsCommand;
     _employerAccountsCommand    = employerAccountsCommand;
     _organisationsCommand       = organisationsCommand;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _locationQuery     = locationQuery;
     _industriesQuery   = industriesQuery;
     _phoneNumbersQuery = phoneNumbersQuery;
     _communitiesQuery  = communitiesQuery;
     _verticalsQuery    = verticalsQuery;
     _partnersQuery     = partnersQuery;
     _cookieManager     = cookieManager;
     _referralsManager  = referralsManager;
     _profilesCommand   = profilesCommand;
     _profilesQuery     = profilesQuery;
 }
Esempio n. 15
0
 public FoldersMobileController(IExecuteJobAdSortCommand executeJobAdSortCommand, IJobAdFoldersCommand jobAdFoldersCommand, IJobAdFoldersQuery jobAdFoldersQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdProcessingQuery jobAdProcessingQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IJobAdsQuery jobAdsQuery, IJobAdBlockListsQuery jobAdBlockListsQuery, IEmployersQuery employersQuery, IIndustriesQuery industriesQuery, IMemberJobAdListsCommand memberJobAdListsCommand)
     : base(executeJobAdSortCommand, jobAdFoldersCommand, jobAdFoldersQuery, jobAdFlagListsQuery, memberJobAdViewsQuery, jobAdProcessingQuery, communitiesQuery, verticalsQuery, jobAdsQuery, jobAdBlockListsQuery, employersQuery, industriesQuery)
 {
     _memberJobAdListsCommand = memberJobAdListsCommand;
 }
Esempio n. 16
0
 public AffiliationsHandler(IEmailsCommand emailsCommand, ICommunitiesQuery communitiesQuery)
 {
     _emailsCommand    = emailsCommand;
     _communitiesQuery = communitiesQuery;
 }
Esempio n. 17
0
 public EnquiriesController(ICommunitiesQuery communitiesQuery, IOrganisationAffiliationsCommand organisationAffiliationsCommand)
 {
     _communitiesQuery = communitiesQuery;
     _organisationAffiliationsCommand = organisationAffiliationsCommand;
 }