app/Http/Controllers/Admin/sectionController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $section = Section::all();
        return view('Admin.Courses.Section.view',compact('section'));
    }
public function index ( ) { $ section = Section :: all ( ) ; return view ( 'Admin.Courses.Section.view' , compact ( 'section' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .