public function save() { if ($this->model->getId()) { return $this->update(); } return $this->create(); }