protected async Task <PublishedProvider> GetOrCreateSuccessorProvider(ProviderVariationContext providerVariationContext, string successorId) { return(providerVariationContext.GetPublishedProviderRefreshState(successorId) ?? providerVariationContext.AddMissingProvider(await _providerService.CreateMissingPublishedProviderForPredecessor( providerVariationContext.PublishedProvider, successorId, providerVariationContext.ProviderVersionId))); }