Beispiel #1
0
        public override Task PublishedAsync(PublishContentContext context, RedirectPart part)
        {
            if (!string.IsNullOrWhiteSpace(part.FromUrl))
            {
                _entries.AddEntry(part.ContentItem.ContentItemId, part.FromUrl);
            }

            return(Task.CompletedTask);
        }