app/Http/Controllers/ServiceController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $dataService = Service::all();
        return view('backoffice.services.all', compact('dataService'));
    }
public function index ( ) { $ dataService = Service :: all ( ) ; return view ( 'backoffice.services.all' , compact ( 'dataService' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .