public function getData() { $record = Record::paginate(10); return view('Records.recordadm')->with('record', $record); }