public function actionDelete()
 {
     $request = Yii::$app->request;
     $adminproductid = $request->get('id');
     $model = Catalog::getOne($adminproductid);
     $model->delete();
     $alltable = Catalog::getAllTable();
     return $this->render('index', ['alltable' => $alltable]);
 }
 public function actionCatalog()
 {
     $alltable = Catalog::getAllTable();
     return $this->render('catalog', ['alltable' => $alltable]);
 }