/**
  * Creates a new Theatre model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     $model = new Theatre();
     if ($model->load(Yii::$app->request->post()) && $model->editsave()) {
         Yii::$app->session->setFlash("theater_notification", Yii::t("app", "Theater Created!"));
         return $this->redirect(['view', 'id' => $model->Id]);
     } else {
         return $this->render('create', ['model' => $model, 'map' => new TheatreMap()]);
     }
 }