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