/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $staff = Staff::all(); //$staff = DB::select("SELECT * FROM Staff;"); return view('staff.index', ['staff' => $staff, 'count' => Staff::count()]); }