public ResetPasswordTokenAccountApplication( IComponentContext context, IResetPasswordTokenFactory resetPasswordTokenFactory, IAccountService accountService, ICustomerImportService customerImportService, IResetPasswordTokenRepository resetPasswordTokenRepository, IApplicationStoreRepository applicationStoreRepository, IPasswordLogRepository passwordLogRepository, IEmailSender svcEmail, ILockedUpMemberPolicy lockedUpMemberPolicy, ILockMemberPolicy lockMemberPolicy, IPasswordPolicy passwordPolicy, IAccountRepository accountRepository) : base(context, resetPasswordTokenRepository, applicationStoreRepository) { this.resetPasswordTokenFactory = resetPasswordTokenFactory; this.accountService = accountService; this.customerImportService = customerImportService; this.applicationStoreRepository = applicationStoreRepository; this.passwordLogRepository = passwordLogRepository; this.svcEmail = svcEmail; this.lockedUpMemberPolicy = lockedUpMemberPolicy; this.lockMemberPolicy = lockMemberPolicy; this.passwordPolicy = passwordPolicy; this.accountRepository = accountRepository; }
public AccountService(ICustomerService customerService, ICustomerImportService customerImportService, IAccountApplicationStoreService accountApplicationStoreService, IAccountRepository accountRepository, ICustomerRepository customerRepository, IApplicationStoreRepository applicationStoreRepository, IApplicationRepository applicationRepository, IResetPasswordTokenFactory resetPasswordTokenFactory, IEmailSender svcEmail, IPasswordPolicy passwordPolicy, IAccountPermissionService accPermissionService, IRoleRepository roleRepository, ILockedUpMemberPolicy lockedUpMemberPolicy) { this.customerService = customerService; this.customerImportService = customerImportService; this.accountApplicationStoreService = accountApplicationStoreService; this.accPermissionService = accPermissionService; this.roleRepository = roleRepository; this.accountRepository = accountRepository; this.customerRepository = customerRepository; this.applicationStoreRepository = applicationStoreRepository; this.applicationRepository = applicationRepository; this.resetPasswordTokenFactory = resetPasswordTokenFactory; this.svcEmail = svcEmail; this.passwordPolicy = passwordPolicy; this.lockedUpMemberPolicy = lockedUpMemberPolicy; slack = new SlackMessager <AccountService>(); }
public void TestInitialize() { _inputRepository = Substitute.For <ICustomerInputRepository>(); _outputRepository = Substitute.For <ICustomerOutputRepository>(); _customerImportService = ServiceFactory.CreateCustomerImportService(_inputRepository, _outputRepository); }
public AccountApplication( IComponentContext context, IAccountService accountService, IAccountRepository accountRepository, IEmailSender svcEmail, ILockedUpMemberPolicy lockedUpMemberPolicy, ILockMemberPolicy lockMemberPolicy, IPasswordPolicy passwordPolicy, IApplicationStoreRepository applicationStoreRepository, IResetPasswordTokenRepository resetPasswordTokenRepository, IApplicationRepository applicationRepository, IStoreRepository storeRepositoy, IAccountRoleRepository accountRoleRepository, IRoleRepository roleRepository, IPermissionRepository permissionRepository, IResourceRepository resourceRepository, ICustomerImportService customerImportService, IResetPasswordTokenService resetPasswordTokenService, IPasswordLogRepository passwordLogRepository, IApplicationStoreService applicationStoreService, ICustomerRepository customerRepository, IAccountPermissionService accPermissionService, IAccountInfraService accountInfraService) : base(context) { this.svcEmail = svcEmail; this.lockedUpMemberPolicy = lockedUpMemberPolicy; this.lockMemberPolicy = lockMemberPolicy; this.passwordPolicy = passwordPolicy; this.accountService = accountService; this.applicationStoreRepository = applicationStoreRepository; this.resetPasswordTokenRepository = resetPasswordTokenRepository; this.applicationRepository = applicationRepository; this.storeRepositoy = storeRepositoy; this.accountRoleRepository = accountRoleRepository; this.roleRepository = roleRepository; this.permissionRepository = permissionRepository; this.resourceRepository = resourceRepository; this.passwordLogRepository = passwordLogRepository; this.customerImportService = customerImportService; this.resetPasswordTokenService = resetPasswordTokenService; this.applicationStoreService = applicationStoreService; this.accPermissionService = accPermissionService; this.accountRepository = accountRepository; this.customerRepository = customerRepository; if (context.TryResolveNamed(FieldType.Account.ToLower(), typeof(IMetadataService), out var metadataService)) { this.metadataService = metadataService as IMetadataService; } this.accountInfraService = accountInfraService; }
public RequisitionApplication( ILifetimeScope context, IRequisitionService requisitionService, IRequisitionRepository requisitionRepository, ICustomerImportService customerImportService, IStoreRepository storeRepository) : base(context) { this.requisitionService = requisitionService; this.requisitionRepository = requisitionRepository; this.customerImportService = customerImportService; this.storeRepository = storeRepository; }
public CustomerImportDBService(IRequisitionRepository requisitionRepository, ICustomerImportDBInfraService customerImportDBInfraService, IAccountService accountService, IApplicationStoreRepository applicationStoreRepository, ICustomerImportService customerImportService, IRoleRepository roleRepository) { this.requisitionRepository = requisitionRepository; this.customerImportDBInfraService = customerImportDBInfraService; this.accountService = accountService; this.applicationStoreRepository = applicationStoreRepository; this.customerImportService = customerImportService; this.roleRepository = roleRepository; }
public ImportService(IRegionImportService regionImportService, ICompanyImportService companyImportService, ICustomerContactImportService customerContactImportService, ICustomerImportService customerImportService, IOfficeImportService officeImportService, IModImportService modImportService, IContractImportService contractImportService, IAttachmentImportService attachmentImportService, IFarClauseImportService farClauseImportService, IExportCSVService exportCSVService) { _regionImportService = regionImportService; _companyImportService = companyImportService; _customerContactImportService = customerContactImportService; _customerImportService = customerImportService; _officeImportService = officeImportService; _modImportService = modImportService; _contractImportService = contractImportService; _attachmentImportService = attachmentImportService; _farClauseImportService = farClauseImportService; _exportCSVService = exportCSVService; }
public ResetPasswordTokenCustomerImportApplication( IComponentContext context, IResetPasswordTokenService resetPasswordTokenService, ICustomerImportService customerImportService, IResetPasswordTokenRepository resetPasswordTokenRepository, IApplicationRepository applicationRepository, IApplicationStoreRepository applicationStoreRepository, IPasswordLogRepository passwordLogRepository, IEmailSender svcEmail) : base(context, resetPasswordTokenRepository, applicationStoreRepository) { this.resetPasswordTokenService = resetPasswordTokenService; this.customerImportService = customerImportService; this.applicationRepository = applicationRepository; this.applicationStoreRepository = applicationStoreRepository; this.passwordLogRepository = passwordLogRepository; this.svcEmail = svcEmail; }
public CustomerImportApplication( IComponentContext context, ICustomerImportRepository customerImportRepository, ICustomerImportService customerImportService, IResetPasswordTokenRepository resetPasswordTokenRepository, IApplicationStoreRepository applicationStoreRepository, IPasswordLogRepository passwordLogRepository, IPasswordPolicy passwordPolicy, IAccountService accountService, IRoleRepository roleRepository) : base(context) { this.customerImportRepository = customerImportRepository; this.customerImportService = customerImportService; this.resetPasswordTokenRepository = resetPasswordTokenRepository; this.applicationStoreRepository = applicationStoreRepository; this.passwordLogRepository = passwordLogRepository; this.passwordPolicy = passwordPolicy; this.accountService = accountService; this.roleRepository = roleRepository; }