예제 #1
0
        public Task <IEnumerable <BreadCrumbItem> > GenerateBreadcrumbTrailAsync(Guid folderId, CancellationToken cancellationToken)
        {
            if (Guid.Empty == folderId)
            {
                throw new ArgumentOutOfRangeException(nameof(folderId));
            }

            return(_folderRepository.GenerateBreadcrumbTrailAsync(folderId, cancellationToken));
        }