app/Http/Controllers/ScheduleController.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()
    {
        $schedules  = Schedule::latest()->get();
        $halls      = Hall::all();
        $courses    = Course::all();
        return view('schedules.create', compact('schedules', 'halls', 'courses'));
    }
public function create ( ) { $ schedules = Schedule :: latest ( ) -> get ( ) ; $ halls = Hall :: all ( ) ; $ courses = Course :: all ( ) ; return view ( 'schedules.create' , compact ( 'schedules' , 'halls' , 'courses' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .