예제 #1
0
 //[ChaveIntegracaoFiltro]
 public async Task <ObjectResult> Criar([FromBody] NotificacaoSgpDto notificacao, [FromServices] ICriarNotificacaoUseCase criarNotificacaoUseCase)
 {
     return(Ok(await criarNotificacaoUseCase.Executar(notificacao)));
 }
예제 #2
0
        public async Task ValidarEnvioNotificacaoSME()
        {
            InstanciarMediator();

            await criarNotificacaoUseCase.Executar(NotificacaoSME);
        }