Ejemplo n.º 1
0
 public function actionDelete()
 {
     $condition = Yii::$app->request->post('$id');
     $number = ServiceCategory::updateAll(['delect' => 1], ['id' => $condition]);
     return $number;
 }