/** * Lists all Bien models. * @return mixed */ public function actionIndex() { $searchModel = new BienSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }