using Raven.Client.Documents.Session; using System.Collections.Generic; using System.Threading.Tasks; using zero.Core.Entities; namespace zero.Core.Routing { public interface ILinkTreeProvider : ILinkProvider { /// /// Get tree children for the current parent id. /// Current document session /// Parent node id /// Selected node so parents can be set to open for the tree to load correclty /// Task> GetLinkTreeItems(IAsyncDocumentSession session, string parentId = null, string activeId = null); } }