*/ public function handle(): LengthAwarePaginator { return Form::paginate(15); } public function asController(): Response { session()->put('menu', 'form'); session()->put('title', 'Veranstaltungen'); return Inertia::render('form/Index', [ 'data' => FormResource::collection($this->handle()), ]); } }