/**
  * Creates a new model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  */
 public function actionCreate($id)
 {
     $model = new ProjectMeeting();
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);
     if (isset($_POST['ProjectMeeting'])) {
         $model->attributes = $_POST['ProjectMeeting'];
         $model->project_mentor_user_id = $id;
         if ($model->save()) {
             User::sendMeetingNotification($model->project_mentor_user_id, $model->mentee_user_id, $model->date, $model->time);
         }
     }
 }