public static Employer CreateTestEmployer(this IEmployerAccountsCommand employersCommand, string loginId, string firstName, string lastName, IOrganisation organisation) { return(employersCommand.CreateTestEmployer( loginId, firstName, lastName, EmployerSubRole.Employer, organisation)); }
public static Employer CreateTestRecruiter(this IEmployerAccountsCommand employersCommand, string loginId, IOrganisation organisation) { return(employersCommand.CreateTestEmployer( loginId, string.Format(FirstNameFormat, 0), string.Format(LastNameFormat, 0), EmployerSubRole.Recruiter, organisation)); }
public static Employer CreateTestRecruiter(this IEmployerAccountsCommand employersCommand, int index, IOrganisation organisation) { return(employersCommand.CreateTestEmployer( string.Format(UserIdFormat, index), string.Format(FirstNameFormat, index), string.Format(LastNameFormat, index), EmployerSubRole.Recruiter, organisation)); }
private static Employer CreateTestEmployer(this IEmployerAccountsCommand employersCommand, string loginId, string firstName, string lastName, EmployerSubRole subRole, IOrganisation organisation) { return(CreateTestEmployer( employersCommand, loginId, firstName, lastName, string.Format(EmailAddressFormat, loginId), subRole, organisation)); }
public MaintainEmployersController(IUserAccountsCommand userAccountsCommand, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IEmployerAccountsCommand employerAccountsCommand, IEmployersQuery employersQuery, IOrganisationsQuery organisationsQuery, IPhoneNumbersQuery phoneNumbersQuery, IExecuteEmployerSearchCommand executeEmployerSearchCommand, IEmailsCommand emailsCommand, IAccountReportsQuery accountReportsQuery) { _userAccountsCommand = userAccountsCommand; _loginCredentialsCommand = loginCredentialsCommand; _loginCredentialsQuery = loginCredentialsQuery; _employerAccountsCommand = employerAccountsCommand; _employersQuery = employersQuery; _organisationsQuery = organisationsQuery; _phoneNumbersQuery = phoneNumbersQuery; _executeEmployerSearchCommand = executeEmployerSearchCommand; _emailsCommand = emailsCommand; _accountReportsQuery = accountReportsQuery; }
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; }
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; }
private static Employer CreateTestEmployer(this IEmployerAccountsCommand employersCommand, string loginId, string firstName, string lastName, string emailAddress, EmployerSubRole subRole, IOrganisation organisation) { var employer = new Employer { EmailAddress = new EmailAddress { Address = emailAddress }, IsActivated = true, IsEnabled = true, PhoneNumber = new PhoneNumber { Number = DefaultPhoneNumber, Type = PhoneNumberType.Mobile }, FirstName = firstName, LastName = lastName, Organisation = organisation, SubRole = subRole, }; employersCommand.CreateTestEmployer(employer, loginId); return(employer); }
public SettingsController(IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, IPhoneNumbersQuery phoneNumbersQuery, IIndustriesQuery industriesQuery, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IAuthenticationManager authenticationManager, ICreditsQuery creditsQuery, IEmployerCreditsQuery employerCreditsQuery, IJobPostersCommand jobPostersCommand, IJobPostersQuery jobPostersQuery, INonMemberSettingsCommand nonMemberSettingsCommand, INonMemberSettingsQuery nonMemberSettingsQuery, ISettingsCommand settingsCommand, ISettingsQuery settingsQuery, ILinkedInCommand linkedInCommand, ILinkedInQuery linkedInQuery) { _employerAccountsCommand = employerAccountsCommand; _authenticationManager = authenticationManager; _creditsQuery = creditsQuery; _employerCreditsQuery = employerCreditsQuery; _jobPostersQuery = jobPostersQuery; _nonMemberSettingsQuery = nonMemberSettingsQuery; _settingsQuery = settingsQuery; _linkedInQuery = linkedInQuery; _linkedInCommand = linkedInCommand; _nonMemberSettingsCommand = nonMemberSettingsCommand; _jobPostersCommand = jobPostersCommand; _settingsCommand = settingsCommand; _loginCredentialsCommand = loginCredentialsCommand; _loginCredentialsQuery = loginCredentialsQuery; _industriesQuery = industriesQuery; _phoneNumbersQuery = phoneNumbersQuery; _organisationsCommand = organisationsCommand; _organisationsQuery = organisationsQuery; }
protected AllocationCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand) : base(verified, employerAccountsCommand, organisationsCommand) { _hasExpired = hasExpired; _creditAllocation = creditAllocation; _creditsQuery = creditsQuery; _allocationsCommand = allocationsCommand; }
private static void CreateTestEmployer(this IEmployerAccountsCommand employersCommand, Employer employer, string loginId) { employersCommand.CreateEmployer(employer, new LoginCredentials { LoginId = loginId, PasswordHash = LoginCredentials.HashToString(DefaultPassword) }); }
public NoAllocationsCreditInfo(bool verified, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand) : base(verified, employerAccountsCommand, organisationsCommand) { }
public AnonymousCreditInfo(IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand) : base(false, employerAccountsCommand, organisationsCommand) { }
public UnlimitedCreditsCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand) : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand) { }
public SomeCreditsUsedCreditCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand, IEmployerCreditsCommand employerCreditsCommand, IEmployerMemberViewsQuery employerMemberViewsQuery) : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand) { _employerCreditsCommand = employerCreditsCommand; _employerMemberViewsQuery = employerMemberViewsQuery; }
public SomeCreditsCreditInfo(int quantity, bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand) : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand) { _quantity = quantity; }
protected CreditInfo(bool verified, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand) { _verified = verified; _employerAccountsCommand = employerAccountsCommand; _organisationsCommand = organisationsCommand; }