using System.Collections.Generic; using System.Threading.Tasks; using zero.Core.Api; using zero.Core.Entities; namespace zero.Web.Controllers { public class PageTreeController : BackofficeController { IPageTreeApi Api; public PageTreeController(IPageTreeApi api) { Api = api; } public async Task> GetChildren(string parent = null, string active = null) { return await Api.GetChildren(parent, active); } } }