public OrganizadorCommandHandler(IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications, IOrganizadorRepository organizadorRepository)
     : base(uow, bus, notifications)
 {
     _organizadorRepository = organizadorRepository;
     _bus           = bus;
     _notifications = notifications;
 }
Exemple #2
0
 public OrganizadorAppService(IMapper mapper,
                              IOrganizadorRepository organizadorRepository,
                              IBus bus)
 {
     _mapper = mapper;
     _organizadorRepository = organizadorRepository;
     _bus = bus;
 }
Exemple #3
0
 public OrganizadorCommandHandler(
     IUnitOfWork uow,
     INotificationHandler <DomainNotification> notifications,
     IOrganizadorRepository organizadorRepository, IMediatorHandler mediator) : base(uow, mediator, notifications)
 {
     _organizadorRepository = organizadorRepository;
     _mediator = mediator;
 }
 public OrganizadorController(IOrganizadorServices organizadorServices, ITrabalhoRepository trabalhoRepository, IOrganizadorRepository dashboardRepository, UserManager <ApplicationUser> userManager, IAdministradorRepository administradorRepository, ILocalizacaoRepository localizacaoRepository, ILocalizacaoServices localizacaoServices)
 {
     _trabalhoRepository      = trabalhoRepository;
     _organizadorRepository   = dashboardRepository;
     _organizadorServices     = organizadorServices;
     _userManager             = userManager;
     _administradorRepository = administradorRepository;
     _localizacaoRepository   = localizacaoRepository;
     _localizacaoServices     = localizacaoServices;
 }
Exemple #5
0
 public AccountController(IDomainNotificationHandler <DomainNotification> notifications,
                          IUser user,
                          UserManager <IdentityUser> userManager,
                          SignInManager <IdentityUser> signanager,
                          ILoggerFactory logger,
                          IBus bus,
                          TokenDescriptor tokenDescriptor,
                          IOrganizadorRepository organizadorRepository) : base(notifications, user, bus)
 {
     _userManager           = userManager;
     _signanager            = signanager;
     _bus                   = bus;
     _logger                = logger.CreateLogger <AccountController>();
     _tokenDescriptor       = tokenDescriptor;
     _organizadorRepository = organizadorRepository;
 }
Exemple #6
0
        public AccountController(
            UserManager <ApplicationUser> userManager,
            SignInManager <ApplicationUser> signInManager,
            ILoggerFactory loggerFactory,
            IOptions <JwtTokenOptions> jwtTokenOptions,
            IBus bus,
            IDomainNotificationHandler <DomainNotification> notifications,
            IUser user,
            IOrganizadorRepository organizadorRepository) : base(notifications, user, bus)
        {
            _userManager           = userManager;
            _signInManager         = signInManager;
            _bus                   = bus;
            _organizadorRepository = organizadorRepository;
            _jwtTokenOptions       = jwtTokenOptions.Value;

            ThrowIfInvalidOptions(_jwtTokenOptions);
            _logger = loggerFactory.CreateLogger <AccountController>();
        }
        public AccountController(UserManager <ApplicationUser> userManager,
                                 SignInManager <ApplicationUser> signManager,
                                 INotificationHandler <DomainNotification> notifications,
                                 ILoggerFactory loggerFactory,
                                 [FromServices] JwtTokenConfigurations jwtTokenConfigurations,
                                 [FromServices] SigningCredentialsConfigurations signingConfigurations,
                                 IMediatorHandler mediator,
                                 IOrganizadorRepository organizadorRepository,
                                 IUser user) : base(notifications, user, mediator)
        {
            _userManager           = userManager;
            _signManager           = signManager;
            _mediator              = mediator;
            _logger                = loggerFactory.CreateLogger <AccountController>();
            _organizadorRepository = organizadorRepository;

            _jwtTokenConfigurations = jwtTokenConfigurations;
            _signingConfigurations  = signingConfigurations;
        }
Exemple #8
0
        public AccountController(
            UserManager <ApplicationUser> userManager,
            SignInManager <ApplicationUser> signInManager,
            ILoggerFactory loggerFactory,
            TokenDescriptor tokenDescriptor,
            IOptions <JwtTokenOptions> jwtTokenOptions,
            INotificationHandler <DomainNotification> notifications,
            IUser user,
            IOrganizadorRepository organizadorRepository,
            IMediatorHandler mediator) : base(notifications, user, mediator)
        {
            _userManager           = userManager;
            _signInManager         = signInManager;
            _mediator              = mediator;
            _organizadorRepository = organizadorRepository;
            _tokenDescriptor       = tokenDescriptor;

            // ssbcvp - voltar aqui - Eduardo tirou estas validações...
            // ThrowIfInvalidOptions(_jwtTokenOptions);

            _logger = loggerFactory.CreateLogger <AccountController>();
        }
 public OrganizadorServices(IBus bus, IMapper mapper, IOrganizadorRepository organizadorRepository)
 {
     _bus    = bus;
     _mapper = mapper;
     _organizadorRepository = organizadorRepository;
 }
 public OrganizadorAppService(IMapper mapper, IOrganizadorRepository organizadorRepository, IMediatorHandler mediator)
 {
     _mapper = mapper;
     _organizadorRepository = organizadorRepository;
     _mediator = mediator;
 }
Exemple #11
0
 public RelatoriosController(IOrganizadorServices organizadorServices, ITrabalhoRepository trabalhoRepository, IOrganizadorRepository dashboardRepository)
 {
     _trabalhoRepository    = trabalhoRepository;
     _organizadorRepository = dashboardRepository;
     _organizadorServices   = organizadorServices;
 }