app/Http/Controllers/Backend/UserController.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()
    {
        $user=User::all();
        return view('backend.user.all-user', compact('user') );
    }
public function index ( ) { $ user = User :: all ( ) ; return view ( 'backend.user.all-user' , compact ( 'user' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .