Пример #1
0
 public function updateSportGroup(ArrayHash $values)
 {
     $type = new SportGroup();
     $type->fromArray((array) $values);
     try {
         $this->sportGroupService->updateSportGroup($type);
     } catch (Exceptions\DataErrorException $ex) {
         $this->handleDataSave($values->id, "this", $ex);
     }
     $this->redirect("default");
 }