public function questionbank(Request $req, $question_id = null)
 {
     return view('admin.qbanknew')->with('subjects', Subject::all())->with('topics', Topic::all())->with('qtypes', QuestionType::all())->with('chapters', Chapter::all())->with('host', $req->root())->with('question_id', $question_id);
 }
 public function findquestion()
 {
     $qid = Input::get("question_id");
     $question = null;
     if ($qid) {
         $question = \App\Models\Contents\Question::findOrFail($qid);
         $question->getDetails();
     }
     return view('superadmin.showquestion')->with('question', $question)->with('question_id', $qid)->with('subjects', Subject::all())->with('chapters', Chapter::all())->with('topics', Topic::all());
 }
 public function getindex()
 {
     return view("superadmin.rqg", ["subjects" => Subject::all(), "chapters" => Chapter::all(), "topics" => Topic::all(), "modules" => Module::all()]);
 }