/**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     $input = $request->input();
     $time_slot = new TimeSlot();
     $time_slot->scheduled_course_id = $input['scheduled_course_id'];
     $time_slot->section = $input['section'];
     $time_slot->room = $input['room'];
     $time_slot->time_start = $input['time_start'];
     $time_slot->time_end = $input['time_end'];
     //        $time_slot->day_of_week_id = $input['day_of_week_id'];
     $time_slot->day = $input['day'];
     $time_slot->course_type_id = $input['course_type_id'];
     $time_slot->save();
 }