public function actionDeleteMultiple() { $pk = Yii::$app->request->post('pk'); if (!$pk) { return; } return Ask::deleteAll(['id' => $pk]); }