private void HandleProviders(GDPRContentContext context, UserProvidersPart userProvidersPart)
        {
            // fetch the records directly, because the part does not contain them (rather, it contains
            // some "derived" objects)
            var providerRecords = _userProviderRepository
                                  .Fetch(x => x.UserId == context.ContentItem.Id);

            foreach (var record in providerRecords)
            {
                // ProviderUserId is the identifier for the user in the provider
                record.ProviderUserId = string.Empty;
                // ProviderUserData contains any additional information related to the user. This usually
                // is personal identifiable information.
                record.ProviderUserData = string.Empty;
            }
        }
 protected void LazyLoadHandlers(LoadContentContext context, UserProvidersPart part)
 {
     // Add handlers that will load content for id's just-in-time
     part.ProviderEntriesField.Loader(() => OnLoader(context));
 }