Beispiel #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;
 }
Beispiel #2
0
 public ClienteCommandHandler(
     IOptions <ServiceManager> serviceManager,
     IHttpAppService httpAppService,
     IClienteRepository clienteRepository,
     IClienteFontePagadoraRepository clienteFontePagadoraRepository,
     IClienteProdutoRepository clienteProdutoRepository,
     IClienteEnderecoRepository clienteEnderecoRepository,
     IClienteDependenteRepository clienteDependenteRepository,
     IClienteDocumentoRepository clienteDocumentoRepository,
     IUser user,
     ILogger <ClienteCommandHandler> logger,
     IUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _serviceManager    = serviceManager.Value;
     _httpAppService    = httpAppService;
     _clienteRepository = clienteRepository;
     _clienteFontePagadoraRepository = clienteFontePagadoraRepository;
     _clienteProdutoRepository       = clienteProdutoRepository;
     _clienteEnderecoRepository      = clienteEnderecoRepository;
     _clienteDependenteRepository    = clienteDependenteRepository;
     _clienteDocumentoRepository     = clienteDocumentoRepository;
     _user   = user;
     _logger = logger;
 }
 public EnderecoCommandHandler(
     IOptions <ServiceManager> serviceManager,
     IHttpAppService httpAppService,
     ILogger <EnderecoCommandHandler> logger,
     IUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _serviceManager = serviceManager.Value;
     _httpAppService = httpAppService;
     _logger         = logger;
 }
 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;
 }
Beispiel #5
0
 public AccountController(
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager,
     IOptions <AppSettings> appSettings,
     IUser user,
     IOptions <ServiceManager> serviceManager,
     IHttpAppService httpAppService,
     ILogger <AccountController> logger,
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator)
     : base(logger, notifications, mediator)
 {
     _signInManager  = signInManager;
     _userManager    = userManager;
     _appSettings    = appSettings.Value;
     _user           = user;
     _serviceManager = serviceManager.Value;
     _httpAppService = httpAppService;
 }