Ejemplo n.º 1
0
        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;
 }
Ejemplo n.º 3
0
 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);
 }