示例#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);
        }