protected override async Task <bool> AfterSaveAsync(Post item, PropertyChange[]?changes = null,
                                                            Post?oldItem = null, IBioRepositoryOperationContext?operationContext = null)
        {
            var version = new ContentVersion {
                Id = Guid.NewGuid(), ContentId = item.Id
            };

            version.SetContent(item);
            if (operationContext?.User != null)
            {
                version.ChangeAuthorId = operationContext.User.Id;
            }

            DbContext.Add(version);
            await DbContext.SaveChangesAsync();

            return(await base.AfterSaveAsync(item, changes, oldItem, operationContext));
        }