public function execute()
 {
     try {
         if (request::getInstance()->isMethod('POST')) {
             $id = request::getInstance()->getPost(razaTableClass::getNameField(razaTableClass::ID, true));
             $nombre = request::getInstance()->getPost(razaTableClass::getNameField(razaTableClass::NOMBRE_RAZA, true));
             $ids = array(razaTableClass::ID => $id);
             razaTableClass::validatUpdate($nombre);
             $data = array(razaTableClass::NOMBRE_RAZA => $nombre);
             razaTableClass::update($ids, $data);
             session::getInstance()->setSuccess(i18n::__('succesUpdate', null, 'raza'));
             log::register(i18n::__('update'), razaTableClass::getNameTable());
             routing::getInstance()->redirect('animal', 'indexRaza');
         } else {
             log::register(i18n::__('update'), razaTableClass::getNameTable(), i18n::__('errorUpdateBitacora'));
             session::getInstance()->setError(i18n::__('errorUpdate'));
             routing::getInstance()->redirect('animal', 'indexRaza');
         }
     } catch (PDOException $exc) {
         session::getInstance()->setFlash('exc', $exc);
         routing::getInstance()->forward('shfSecurity', 'exception');
     }
 }