/** * Lists all Stores models. * @return mixed */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => Stores::find()]); return $this->render('index', ['dataProvider' => $dataProvider]); }