public function getUsers() { $userResource = new UserResource($this->request); $users = $userResource->getAll(); return $users; }