protected function updateBlock(array $block, $idLanguage, $idPage)
    {
        $block["LanguageId"] = $idLanguage;
        $block["PageId"] = $idPage;

        $className = $this->blockRepository->getRepositoryObjectClassName();
        $modelObject = new $className();

        $result = $this->blockRepository
                    ->setRepositoryObject($modelObject)
                    ->save($block);

        return $result;
    }