$serviceCategory])->get(); $ser = Service::where(['name' => $serviceCategory])->get()->first(); return view('frontend.service.detail', compact('services', 'ser')); } /** * Show the form for editing the specified resource. * * @param \App\Models\Service $service * @return \Illuminate\Http\Response */ public function edit(Service $service) { // } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param \App\Models\Service $service * @return \Illuminate\Http\Response */ public function update(Request $request, Service $service) { // } /** * Remove the specified resource from storage. * * @param \App\Models\Service $service * @return \Illuminate\Http\Response */ public function destroy(Service $service) { // } }