public function questionList($examid) { $question = ExamQuestion::where('exam_id', $examid)->get(); return $question; }