ONOS-2710: Change singnatures of register/unregister in ResourceStore

Change-Id: I2e90871d79cac94474a39c797168870173441eeb
diff --git a/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java b/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java
index b8c31a4..2cd1a2e 100644
--- a/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java
+++ b/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java
@@ -133,7 +133,7 @@
         checkArgument(!children.isEmpty());
 
         List<ResourcePath> resources = Lists.transform(children, x -> ResourcePath.child(parent, x));
-        return store.register(parent, resources);
+        return store.register(resources);
     }
 
     @Override
@@ -143,6 +143,6 @@
         checkArgument(!children.isEmpty());
 
         List<ResourcePath> resources = Lists.transform(children, x -> ResourcePath.child(parent, x));
-        return store.unregister(parent, resources);
+        return store.unregister(resources);
     }
 }