Skip to content

Commit c1749bf

Browse files
Merge pull request #22 from DJShinn/feature/delete-items-via-client
Pass DeleteContentItemsAsync through GraphSourceClient
2 parents 78a8e10 + d34a112 commit c1749bf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Optimizely.Graph.Source.Sdk/Optimizely.Graph.Source.Sdk/GraphSourceClient.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ public async Task<string> DeleteContentAsync()
104104
return await repository.DeleteContentAsync();
105105
}
106106

107+
/// <summary>
108+
/// Removes individual content items previously stored by source.
109+
/// </summary>
110+
/// <returns></returns>
111+
public async Task<string> DeleteContentItemsAsync(string language, params string[] ids)
112+
{
113+
return await repository.DeleteContentItemsAsync(language, ids);
114+
}
115+
107116
#region Private
108117
/// <summary>
109118
/// Creates the HttpClientFactory for the REST services.

0 commit comments

Comments
 (0)