ContentRepo.GetHierarchy Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

GetHierarchy(Int32, Nullable)

Returns the content hierarchy in the specified App sorted like a tree.

public static IEnumerable GetHierarchy(int appId, int? depth)

Parameters

appId
System.Int32
depth
System.Nullable{System.Int32}

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Content}

Returns a list of content items.