private async Task <AuthorProfile> CreateAuthorProfile(AddAuthorCommand message)
        {
            var socialHandles = new SocialHandles(message.LinkedIn, message.GitHub);
            var authorProfile = new AuthorProfile(message.FirstName, message.LastName, message.About);

            authorProfile.WithSocialHandles(socialHandles).WithResumeUri(message.ResumeUri);

            if (message.ImageId != null)
            {
                var image = await _dbContext.Images.FindAsync(message.ImageId);

                authorProfile.WithImage(image);
            }

            return(authorProfile);
        }