/**
  * Creates a new SccCase model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     $model = new SccCase();
     if ($model->load(Yii::$app->request->post())) {
         $model->c_date_time = date('Y-m-d h:m:s ');
         $model->save();
         return $this->redirect(['view', 'id' => $model->case_id]);
     } else {
         return $this->render('create', ['model' => $model]);
     }
 }