public async Task <IActionResult> GetListarMailing() { try { { var identity = HttpContext.User.Identity as ClaimsIdentity; int idUsuario = JwtConfigurator.GetTokenIdUsuario(identity); var Lista = await _MailingService.ListaMailing(); return(Ok(Lista)); } } catch (Exception ex) { return(BadRequest(ex.Message)); } }