public static function delete($curso) { CursoDao::delete($curso); }
function delete() { $cursoDao = new CursoDao(); $cursoDao->delete($this->id); }