public function actionUpdateAgenda()
 {
     $model = new Agenda();
     $model->agendaID = $_POST['agendaID'];
     $model->lastUpdate = date("Y/m/d");
     $data = json_decode($_POST['data']);
     $slotbuff = json_decode($_POST['slotbuff']);
     $slotnum = json_decode($_POST['slotnum']);
     $status = $model->updateAgenda($data, $slotbuff, $slotnum);
     $value = array('status' => $model->agendaID);
     // 'status' => "yes baby yes"
     echo json_encode($value);
 }