Slight refactor and cleanup

This commit is contained in:
Shannon
2018-11-01 13:12:47 +11:00
parent c0109e0531
commit 1429053681
6 changed files with 80 additions and 56 deletions

View File

@@ -207,6 +207,9 @@ namespace Umbraco.Web.Trees
return HasPathAccess(entity, queryStrings);
}
internal override IEnumerable<IUmbracoEntity> GetChildrenFromEntityService(int entityId)
=> Services.EntityService.GetChildren(entityId, UmbracoObjectType).ToList();
/// <summary>
/// Returns a collection of all menu items that can be on a content node
/// </summary>