public function destroy($id) { // $instructor = instructor::find($id); $instructor->delete(); return redirect()->back(); }