app/Http/Controllers/Admin/batchController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $batch = Batch::all();
        $course = Course::all();
        $section = Section::all();
        return view('Admin.Courses.Batch.add',compact('batch','course','section'));
    }
public function create ( ) { $ batch = Batch :: all ( ) ; $ course = Course :: all ( ) ; $ section = Section :: all ( ) ; return view ( 'Admin.Courses.Batch.add' , compact ( 'batch' , 'course' , 'section' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .