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