public static function excluir() { $templateEmail = new TemplateEmail(); $templateEmail->selecionarPorId($_POST['id']); $templateEmail->excluir(); }