public async Task RemoveAsync(RetentionPolicyEntity entity) { await Client.DeleteAsync(entity, "Self", entity).ConfigureAwait(false); }
public async Task UpdateAsync(RetentionPolicyEntity entity) { await Client.PutAsync(entity, "Self", entity).ConfigureAwait(false); }
public async Task<RetentionPolicyEntity> AddAsync(RetentionPolicyEntity entity) { return await Client.PostAsync<RetentionPolicyEntity, RetentionPolicyEntity>(entity, "Create", entity).ConfigureAwait(false); }