public IActionResult Post(Newsletter newsletter) { try { _newsletterRepository.Adicionar(newsletter); return(Ok(newsletter)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }