id)) { throw new BadRequest(); } $this->getRecordService()->moveUp($data->id); return true; } public function postActionMoveDown($params, $data, $request) { if (empty($data->id)) { throw new BadRequest(); } $this->getRecordService()->moveDown($data->id); return true; } public function getActionListAll() { return $this->getRecordService()->listAll(); } }