public function actionDeleteAll() { $params = Yii::$app->request->get(); Warning::multipleDelete($params); return $this->redirect('index'); }