Example #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //
     //$staffs = DB::select('select * from staffs');
     $staffs = Staff::get_all_staffs();
     return view('staffs.index', compact('staffs'));
 }