public PerfilController(UsuarioContext context, IOptionsSnapshot <UsuarioSettings> settings, IUsuarioIntegrationEventService usuarioIntegrationEventService, IStringLocalizer <PerfilController> localizer)
 {
     _usuarioContext = context ?? throw new ArgumentNullException(nameof(context));
     _usuarioIntegrationEventService = usuarioIntegrationEventService ?? throw new ArgumentNullException(nameof(usuarioIntegrationEventService));
     _settings  = settings.Value;
     _localizer = localizer;
 }
 public EmpresaInclusaoIntegrationEventHandler(UsuarioContext setorContext, IUsuarioIntegrationEventService setorIntegrationEventService)
 {
     _setorContext = setorContext;
     _setorIntegrationEventService = setorIntegrationEventService;
 }