public KycStatusService(ILogger <KycStatusService> logger, KycProfileRepository repository, IServiceBusPublisher <KycProfileUpdatedMessage> publisher, KycStatusSetter statusSetter) { _logger = logger; _repository = repository; _publisher = publisher; _statusSetter = statusSetter; }
public KycVerificationService(KycProfileRepository repository, KycAidHttpService httpService, ILogger <KycVerificationService> logger, DbContextOptionsBuilder <DatabaseContext> dbContextOptionsBuilder, IServiceBusPublisher <KycProfileUpdatedMessage> publisher, KycStatusSetter statusSetter) { _repository = repository; _httpService = httpService; _logger = logger; _dbContextOptionsBuilder = dbContextOptionsBuilder; _publisher = publisher; _statusSetter = statusSetter; }
public KycProfileRepository( IMyNoSqlServerDataWriter <KycProfileNoSqlEntity> cache, DbContextOptionsBuilder <DatabaseContext> dbContextOptionsBuilder, ILogger <KycProfileRepository> logger, KycStatusSetter statusSetter) { _cache = cache; _dbContextOptionsBuilder = dbContextOptionsBuilder; _logger = logger; _statusSetter = statusSetter; }
public KycUpdateJob(ILogger <KycUpdateJob> logger, ISubscriber <ClientProfileUpdateMessage> profileSubscriber, ISubscriber <KycVerificationResultMessage> verificationSubscriber, ISubscriber <KycLevelUpdateMessage> levelSubscriber, KycProfileRepository repository, DbContextOptionsBuilder <DatabaseContext> dbContextOptionsBuilder, IServiceBusPublisher <KycProfileUpdatedMessage> publisher, IPersonalDataServiceGrpc personalData, KycAidHttpService kycAidHttpService, KycStatusSetter statusSetter, IClientCommentsService clientCommentsService) { _logger = logger; _repository = repository; _dbContextOptionsBuilder = dbContextOptionsBuilder; _publisher = publisher; _personalData = personalData; _kycAidHttpService = kycAidHttpService; _statusSetter = statusSetter; _clientCommentsService = clientCommentsService; verificationSubscriber.Subscribe(HandleEvents); levelSubscriber.Subscribe(HandleEvents); profileSubscriber.Subscribe(HandleEvents); }