Exemple #1
0
 public ConsultorCommandHandler(
     IOptions <ServiceManager> serviceManager,
     IHttpAppService httpAppService,
     IOnboardingRepository onboardingRepository,
     IConsultorRepository consultorRepository,
     IDadosBancariosRepository dadosBancariosRepository,
     IEnderecoRepository enderecoRepository,
     IRepresentanteRepository representanteRepository,
     IRepresentanteEmailRepository representanteEmailRepository,
     IRepresentanteTelefoneRepository representanteTelefoneRepository,
     ILogger <ConsultorCommandHandler> logger,
     IUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _serviceManager                  = serviceManager.Value;
     _httpAppService                  = httpAppService;
     _onboardingRepository            = onboardingRepository;
     _consultorRepository             = consultorRepository;
     _dadosBancariosRepository        = dadosBancariosRepository;
     _enderecoRepository              = enderecoRepository;
     _representanteRepository         = representanteRepository;
     _representanteEmailRepository    = representanteEmailRepository;
     _representanteTelefoneRepository = representanteTelefoneRepository;
     _logger = logger;
 }
Exemple #2
0
        private async Task <bool> IsProcessingComplete(Guid uid)
        {
            IOnboardingRepository repos = Conversation.Container.Resolve <IOnboardingRepository>();

            //var persistedState = await repos.Get(uid);

            return(true);
        }
 public AutorizacaoCommandHandler(
     IOptions <ServiceManager> serviceManager,
     IHttpAppService httpAppService,
     IOnboardingRepository onboardingRepository,
     ILogger <AutorizacaoCommandHandler> logger,
     IUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _serviceManager       = serviceManager.Value;
     _httpAppService       = httpAppService;
     _onboardingRepository = onboardingRepository;
     _logger = logger;
 }
Exemple #4
0
 public ModelTests()
 {
     connectionString = ConfigurationManager.AppSettings["MainApplicationStorage"];
     repository       = ServiceLocator.ResolveRepository(connectionString);
 }