public SrvKycStatusManager(IKycRepository kycRepository, IMenuBadgesRepository menuBadgesRepository, IPersonalDataRepository personalDataRepository) { _kycRepository = kycRepository; _menuBadgesRepository = menuBadgesRepository; _personalDataRepository = personalDataRepository; }
public SrvKycStatusManager(IKycRepository kycRepository, IMenuBadgesRepository menuBadgesRepository, IPersonalDataRepository personalDataRepository) { _kycRepository = kycRepository; _menuBadgesRepository = menuBadgesRepository; _personalDataRepository = personalDataRepository; }
public UserManager(IPersonalDataRepository personalDataRepository, IKycDocumentsRepository kycDocumentsRepository, IHttpContextAccessor httpContextAccessor) { _personalDataRepository = personalDataRepository; _kycDocumentsRepository = kycDocumentsRepository; _httpContextAccessor = httpContextAccessor; }
public DbUnit(MySQLContext db, IAuditoriumRepository auditoriumRepository, IAuditoriumImgRepository auditoriumImgRepository, IClassRepository classRepository, IClassImgRepository classImgRepository, IFamilyRepository familyRepository, IFamilyMemberRepository familyMemberRepository, ILessonRepository lessonRepository, ILessonDurationRepository lessonDurationRepository, IPersonalDataRepository personalDataRepository, IPersonalImgRepository personalImgRepository, IProgressRepository progressRepository, IScheduleRepository scheduleRepository, ISchoolRepository schoolRepository, IStudentRepository studentRepository, ITeacherRepository teacherRepository, IUserAccountRepository userAccountRepository, IHomeworkRepository homeworkRepository) { this.db = db; AuditoriumRepository = auditoriumRepository; AuditoriumImgRepository = auditoriumImgRepository; ClassRepository = classRepository; ClassImgRepository = classImgRepository; HomeworkRepository = homeworkRepository; FamilyRepository = familyRepository; FamilyMemberRepository = familyMemberRepository; LessonDurationRepository = lessonDurationRepository; LessonRepository = lessonRepository; PersonalDataRepository = personalDataRepository; PersonalImgRepository = personalImgRepository; ProgressRepository = progressRepository; ScheduleRepository = scheduleRepository; SchoolRepository = schoolRepository; StudentRepository = studentRepository; TeacherRepository = teacherRepository; UserAccountRepository = userAccountRepository; }
public SrvClientFinder(IPersonalDataRepository personalDataRepository, IClientAccountsRepository clientAccountsRepository, IWalletCredentialsRepository walletCredentialsRepository) { _personalDataRepository = personalDataRepository; _clientAccountsRepository = clientAccountsRepository; _walletCredentialsRepository = walletCredentialsRepository; }
public JobGeolocationDataUpdater( IPersonalDataRepository personalDataRepository, IAuditLogRepository auditLogRepository, IIpGeoLocationService ipGeoLocationService) { _personalDataRepository = personalDataRepository; _auditLogRepository = auditLogRepository; _ipGeoLocationService = ipGeoLocationService; }
public DocumentsCheckingController(SrvKycStatusManager kycStatusManager, SrvClientFinder srvClientFinder, IPersonalDataRepository personalDataRepository, IKycRepository kycRepository) { _kycStatusManager = kycStatusManager; _srvClientFinder = srvClientFinder; _personalDataRepository = personalDataRepository; _kycRepository = kycRepository; }
public DocumentsCheckingController(SrvKycStatusManager kycStatusManager, SrvClientFinder srvClientFinder, IPersonalDataRepository personalDataRepository, IKycRepository kycRepository) { _kycStatusManager = kycStatusManager; _srvClientFinder = srvClientFinder; _personalDataRepository = personalDataRepository; _kycRepository = kycRepository; }
public SrvClientManager(IClientAccountsRepository tradersRepository, ISrvSmsConfirmator srvSmsConfirmator, IPersonalDataRepository personalDataRepository, ISrvLykkeWallet srvLykkeWallet, IAccountsRepository accountsRepository) { _tradersRepository = tradersRepository; _srvSmsConfirmator = srvSmsConfirmator; _personalDataRepository = personalDataRepository; _srvLykkeWallet = srvLykkeWallet; _accountsRepository = accountsRepository; }
public SrvClientManager(IClientAccountsRepository tradersRepository, ISrvSmsConfirmator srvSmsConfirmator, IPersonalDataRepository personalDataRepository, ISrvLykkeWallet srvLykkeWallet, IAccountsRepository accountsRepository) { _tradersRepository = tradersRepository; _srvSmsConfirmator = srvSmsConfirmator; _personalDataRepository = personalDataRepository; _srvLykkeWallet = srvLykkeWallet; _accountsRepository = accountsRepository; }
public EmailQueueConsumer(IEnumerable <IQueueReader> queueReadersList, ISmtpEmailSender smtpEmailSender, IEmailGenerator emailGenerator, IPersonalDataRepository personalDataRepository, ILog log) { _queueReadersList = queueReadersList; _smtpEmailSender = smtpEmailSender; _emailGenerator = emailGenerator; _personalDataRepository = personalDataRepository; _log = log; InitQueues(); }
public SrvCashTransfer(IPersonalDataRepository personalDataRepository, IMenuBadgesRepository menuBadgesRepository, ICashOutAttemptRepository cashOutAttemptRepository, ICashOutCancelledRepository cashOutCancelledRepository, ICashOutDoneRepository cashOutDoneRepository) { _personalDataRepository = personalDataRepository; _menuBadgesRepository = menuBadgesRepository; _cashOutAttemptRepository = cashOutAttemptRepository; _cashOutCancelledRepository = cashOutCancelledRepository; _cashOutDoneRepository = cashOutDoneRepository; }
private static UserManager CreateUserManager(IPersonalDataRepository personalDataRepository = null) { if (personalDataRepository == null) { personalDataRepository = Substitute.For <IPersonalDataRepository>(); } var kycDocumentRepository = Substitute.For <IKycDocumentsRepository>(); var httpAccessor = Substitute.For <IHttpContextAccessor>(); var userManager = new UserManager(personalDataRepository, kycDocumentRepository, httpAccessor); return(userManager); }
public EmailGenerator( ICachedAssetsService assetsService, IPersonalDataRepository personalDataRepository, AppSettings.EmailSettings emailSettings, AppSettings.BlockchainSettings blockchainSettings, AppSettings.WalletApiSettings walletApiSettings, IRemoteTemplateGenerator templateGenerator, ISwiftCredentialsService swiftCredentialsService) { _assetsService = assetsService; _personalDataRepository = personalDataRepository; _templateGenerator = templateGenerator; _emailSettings = emailSettings; _blockchainSettings = blockchainSettings; _walletApiSettings = walletApiSettings; _swiftCredentialsService = swiftCredentialsService; }
public EmailGenerator(SrvPdfGenerator srvPdfGenerator, IAssetsRepository assetsRepository, IPersonalDataRepository personalDataRepository, TemplateGenerator localTemplateGenerator, BaseSettings settings, ITemplateGenerator templateGenerator, EmailGeneratorSettings emailGeneratorSettings, IQrCodeGenerator qrCodeGenerator, IBackupQrRepository backupQrRepository) { _srvPdfGenerator = srvPdfGenerator; _assetsRepository = assetsRepository; _personalDataRepository = personalDataRepository; _settings = settings; _templateGenerator = templateGenerator; _emailGeneratorSettings = emailGeneratorSettings; _qrCodeGenerator = qrCodeGenerator; _backupQrRepository = backupQrRepository; _localTemplateGenerator = localTemplateGenerator; }
public ProfileActionHandler(ISrvKycManager srvKycManager, IPersonalDataRepository personalDataRepository, IKycDocumentsRepository kycDocumentsRepository, AuthenticationActionHandler authenticationActionHandler, IHttpContextAccessor httpContextAccessor, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor, IUserManager userManager, IClientAccountsRepository clientAccountsRepository, ICountryService countryService) { _srvKycManager = srvKycManager; _personalDataRepository = personalDataRepository; _kycDocumentsRepository = kycDocumentsRepository; _authenticationActionHandler = authenticationActionHandler; _httpContextAccessor = httpContextAccessor; _userManager = userManager; _clientAccountsRepository = clientAccountsRepository; _countryService = countryService; _urlHelper = urlHelperFactory.GetUrlHelper(actionContextAccessor.ActionContext); }
public SrvKycManager(IKycDocumentsRepository kycDocumentsRepository, IKycDocumentsScansRepository kycDocumentsScansRepository, IKycRepository kycRepository, IPersonalDataRepository personalDataRepository, IClientAccountsRepository clientAccountsRepository, IRegistrationConsumer[] registrationConsumers, IAuditLogRepository auditLogRepository, IRegistrationLogs registrationLogs, IClientSettingsRepository clientSettingsRepository, IAppGlobalSettingsRepositry appGlobalSettingsRepositry, IAssetGroupRepository assetGroupRepository, ISrvEmailsFacade srvEmailsFacade) { _kycDocumentsRepository = kycDocumentsRepository; _kycDocumentsScansRepository = kycDocumentsScansRepository; _kycRepository = kycRepository; _personalDataRepository = personalDataRepository; _clientAccountsRepository = clientAccountsRepository; _registrationConsumers = registrationConsumers; _auditLogRepository = auditLogRepository; _registrationLogs = registrationLogs; _clientSettingsRepository = clientSettingsRepository; _appGlobalSettingsRepositry = appGlobalSettingsRepositry; _assetGroupRepository = assetGroupRepository; _srvEmailsFacade = srvEmailsFacade; }
private ProfileActionHandler CreateProfileActionHandler(IPersonalDataRepository personalDataRepository, IKycDocumentsRepository kycDocumentsRepository) { var srvManager = Substitute.For <ISrvKycManager>(); var personalDataRepo = personalDataRepository ?? Substitute.For <IPersonalDataRepository>(); var kycDocRepo = kycDocumentsRepository ?? Substitute.For <IKycDocumentsRepository>(); var kycRepo = Substitute.For <IKycRepository>(); var httpContextAccessor = Substitute.For <IHttpContextAccessor>(); var urlHelperFactory = Substitute.For <IUrlHelperFactory>(); var actionContextAccessor = Substitute.For <IActionContextAccessor>(); var userManager = Substitute.For <IUserManager>(); var countryService = Substitute.For <ICountryService>(); var clientAccountRepo = Substitute.For <IClientAccountsRepository>(); var clientSettingRepo = Substitute.For <IClientSettingsRepository>(); var authActionHandler = new AuthenticationActionHandler(kycRepo, srvManager, clientSettingRepo, kycDocRepo); var fakeClaim = new Claim(ClaimTypes.NameIdentifier, "test"); var fakeIdentity = Substitute.For <ClaimsIdentity>(); fakeIdentity.FindFirst(ClaimTypes.NameIdentifier).Returns(fakeClaim); var fakeClaimsPrincipal = Substitute.For <ClaimsPrincipal>(); fakeClaimsPrincipal.HasClaim(Arg.Any <string>(), Arg.Any <string>()).Returns(true); fakeClaimsPrincipal.Identity.Returns(fakeIdentity); fakeClaimsPrincipal.FindFirst(ClaimTypes.NameIdentifier).Returns(fakeClaim); var fakeHttpContext = Substitute.For <HttpContext>(); fakeHttpContext.User.Returns(fakeClaimsPrincipal); httpContextAccessor.HttpContext.Returns(fakeHttpContext); httpContextAccessor.HttpContext.User.Returns(fakeClaimsPrincipal); return(new ProfileActionHandler(srvManager, personalDataRepo, kycDocRepo, authActionHandler, httpContextAccessor, urlHelperFactory, actionContextAccessor, userManager, clientAccountRepo, countryService)); }
public SrvKycManager(IKycDocumentsRepository kycDocumentsRepository, IKycDocumentsScansRepository kycDocumentsScansRepository, IKycRepository kycRepository, IMenuBadgesRepository menuBadgesRepository, IPersonalDataRepository personalDataRepository, IClientAccountsRepository clientAccountsRepository, IAuditLogRepository auditLogRepository, IRegistrationLogs registrationLogs, IClientSettingsRepository clientSettingsRepository, ISrvBlockchainHelper srvBlockchainHelper, BaseSettings baseSettings, IAppGlobalSettingsRepositry appGlobalSettingsRepositry, IAssetGroupRepository assetGroupRepository, ISrvEmailsFacade srvEmailsFacade, IBackgroundWorkRequestProducer backgroundWorkRequestProducer) { _kycDocumentsRepository = kycDocumentsRepository; _kycDocumentsScansRepository = kycDocumentsScansRepository; _kycRepository = kycRepository; _menuBadgesRepository = menuBadgesRepository; _personalDataRepository = personalDataRepository; _clientAccountsRepository = clientAccountsRepository; _auditLogRepository = auditLogRepository; _registrationLogs = registrationLogs; _clientSettingsRepository = clientSettingsRepository; _srvBlockchainHelper = srvBlockchainHelper; _baseSettings = baseSettings; _appGlobalSettingsRepositry = appGlobalSettingsRepositry; _assetGroupRepository = assetGroupRepository; _srvEmailsFacade = srvEmailsFacade; _backgroundWorkRequestProducer = backgroundWorkRequestProducer; }
public PaymentOkEmailSender(IEmailSender emailSender, IPersonalDataRepository personalDataRepository) { _emailSender = emailSender; _personalDataRepository = personalDataRepository; }
public SrvClientFinder(IPersonalDataRepository personalDataRepository, IClientAccountsRepository clientAccountsRepository) { _personalDataRepository = personalDataRepository; _clientAccountsRepository = clientAccountsRepository; }
public SrvClientFinder(IPersonalDataRepository personalDataRepository, IClientAccountsRepository clientAccountsRepository) { _personalDataRepository = personalDataRepository; _clientAccountsRepository = clientAccountsRepository; }
public SrvPdfGenerator(IPersonalDataRepository personalDataRepository) { _personalDataRepository = personalDataRepository; }