public function run($id = null)
 {
     $searchModel = new PaymentSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     //$user = $this->findModel(Yii::$app->user->id);
     return $this->controller->render('payments', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
 /**
  * Lists all PaymentModel models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new PaymentSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }