public function actionListDevice()
 {
     $searchModel = new DeviceSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     $this->title_header = "List Devices";
     return $this->render('list-device', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
 /**
  * Lists all Device models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new DeviceSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }