/**
  * Funcion to remove the question from the database
  * NOT IMPLEMENTED
  * @param $questionID
  * @return string
  */
 public function removeQuestion($questionID)
 {
     $return = 'failure';
     if ($this->checkQuestionID($questionID)) {
         PredefinedQuestion::destroy($questionID);
         $return = 'success';
     }
     return $return;
 }
 /**
  * Function to get all the predefined Questions
  * @param Request $request
  */
 public function getAllPredefinedQuestions(Request $request)
 {
     header('Access-Control-Allow-Origin: *');
     $preDefinedQuestion = new PredefinedQuestion();
     echo $preDefinedQuestion->getQuestions();
 }