private function executeSQL($SQL, $parameters = null) {
        try {
            $queryPrepare = $this->connection->prepare($SQL);
            if (is_array($parameters)) {
                $queryPrepare->execute($parameters);
            } else {
                $queryPrepare->execute();
            }
        } catch (\PDOException $e) {
            throw new ModelException('Error in the Select QUERY ('.$SQL.') '
                    . 'and error message('.$e->getMessage().')');
        }
        return $queryPrepare;
    }