public Task <ResourceModel[]> GetResourceTree() { return(WcfClient.GetResourcesAsync(new ResourceQuery { ReferenceCondition = new ReferenceFilter { Name = "Parent", ValueConstraint = ReferenceValue.NullOrEmpty }, ReferenceRecursion = true, IncludedReferences = new[] { new ReferenceFilter { Name = "Children" } } })); }
public Task <ResourceModel[]> GetResources(ResourceQuery query) { return(WcfClient.GetResourcesAsync(query)); }