app/Http/Controllers/UsersController.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()
    {
        $users=User::orderBy('id','ASC')->paginate(15);
        return view('admin.users.index')->with('users',$users);
    }
public function index ( ) { $ users = User :: orderBy ( 'id' , 'ASC' ) -> paginate ( 15 ) ; return view ( 'admin.users.index' ) -> with ( 'users' , $ users ) ; }
Display a listing of the resource.
Display a listing of the resource .