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