public function actionDeletePropertyValue($id, $realty_property_values_id) { if ($realty_property_values_id) { RealtyPropertyValues::deleteAll(['id' => $realty_property_values_id]); } return $this->redirect(['index', 'action' => 'ch', 'id' => $id]); }