public async Task ResyncContentItems(string contentType) { var publishedGraphReplicaSet = _graphCluster.GetGraphReplicaSet(GraphReplicaSetNames.Published); var previewGraphReplicaSet = _graphCluster.GetGraphReplicaSet(GraphReplicaSetNames.Preview); var contentItems = await _contentItemsService.GetPublishedOnly(contentType); await Sync(contentItems, publishedGraphReplicaSet); await Sync(contentItems, previewGraphReplicaSet); contentItems = await _contentItemsService.GetPublishedWithDraftVersion(contentType); await Sync(contentItems, publishedGraphReplicaSet); contentItems = await _contentItemsService.GetDraft(contentType); await Sync(contentItems, previewGraphReplicaSet); }