public async Task Initialize(GroupVm group)
        {
            if (group == null)
            {
                return;
            }

            GoBackCommand.RaiseCanExecuteChanged();
            ParentGroupName = group.Title;
            ParentGroupIcon = group.Icon;

            BreadcrumbItems.Add(new BreadcrumbItem {
                Path = group.Id, Name = group.Title, Icon = group.Icon
            });
            var parentGroup = group;

            while (!string.IsNullOrEmpty(parentGroup.ParentGroupId))
            {
                parentGroup = await _mediator.Send(new GetGroupQuery { Id = parentGroup.ParentGroupId });

                BreadcrumbItems.Add(new BreadcrumbItem {
                    Path = parentGroup.Id, Name = parentGroup.Title, Icon = parentGroup.Icon
                });
            }
        }
 private void BuildBreadcrumb(Item contextItem)
 {
     BreadcrumbItems = contextItem.Axes.GetAncestors().Where(i => i["Show In Navigation"] == "1").ToList();
     BreadcrumbItems.Add(contextItem);
 }