/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $departments = Department::all();
     $subjects = Subject::all();
     $department_subject = DepartmentSubject::find($id);
     return view('admin.department_subject.department_subject_edit', compact('departments', 'subjects', 'department_subject'));
 }