*/ public function handle(): LengthAwarePaginator { return Formtemplate::paginate(15); } public function asController(): Response { session()->put('menu', 'formtemplate'); session()->put('title', 'Formular-Vorlagen'); return Inertia::render('formtemplate/Index', [ 'data' => FormtemplateResource::collection($this->handle()), ]); } }