コード例 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  Department $department
  * @return Response
  */
 public function destroy(\Illuminate\Http\Request $request)
 {
     $department = $this->department->findById($request->input('id'));
     $this->dispatch(new Department\Jobs\DeleteJob($department));
     return $department;
 }