public ActionResult <string> Delete(int id) { var retorno = _logsService.Deletar(id); if (retorno) { return(Ok("Deletado com sucesso!")); } else { return(NoContent()); } }