/**
  * Lists all Appellations models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new AppellationsSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     $pager = new \yii\data\Pagination(['pageSize' => 50]);
     $dataProvider->setPagination($pager);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
 /**
  * Lists all Appellations models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new AppellationsSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());
     return $this->render('index', ['dataProvider' => $dataProvider, 'searchModel' => $searchModel]);
 }