private async Task <BreadCrumbNode> GetBreadCrumbNode(string id, string type) { return(await _breadCrumbNodeProvider.Get(type, id)); // return result; //.Select(p => p.Get(type, id)).FirstOrDefault(p => p != null).Result; }
private async Task <BreadCrumbNode> GetTreeNode(string contentitemid, string type) { return(await _breadCrumbNodeProvider.Get(type, contentitemid)); // return await _breadcrumbNodeProviders.Select(p => p.Get(type, contentitemid)).FirstOrDefault(p => p != null); }