public function actionCreate($id)
 {
     /* @var SiteModels $forum */
     $forum = SiteModels::find()->where(['id' => $id])->one();
     if (!$forum || Yii::$app->getUser()->getIsGuest()) {
         throw new NotFoundHttpException();
     }
     $model = new TopicForm();
     if ($model->load(Yii::$app->getRequest()->post()) && $model->create($forum)) {
         $this->redirect(['post/view', 'id' => $model->topic->id]);
     }
     return $this->render('create', ['model' => $model, 'forum' => $forum]);
 }