예제 #1
0
        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;
        }
예제 #2
0
        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);
        }