app/Http/Controllers/Backend/MyClassesController.php
/**
     * Display a listing of the resource.
     *
     * @return Response
     */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index()
    {
        $My_Classes = Classroom::all();
        $Grades = Grade::all();
        return view('backend.classroom.My_Classes', compact('My_Classes', 'Grades'));
    }
public function index ( ) { $ My_Classes = Classroom :: all ( ) ; $ Grades = Grade :: all ( ) ; return view ( 'backend.classroom.My_Classes' , compact ( 'My_Classes' , 'Grades' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .