public function actionList() { $search = \yii::$app->request->post(); $dataProvider = \common\models\MasterCategory::searchCategory($search); return $this->renderPartial('_list', ['dataProvider' => $dataProvider]); }