// Deletes the specified target from the customer library.
        // The operation requires exactly one identifier in a list.
        private async Task DeleteTargetsFromLibraryAsync(IList <long> targetIds)
        {
            var request = new DeleteTargetsFromLibraryRequest
            {
                TargetIds = targetIds
            };

            await Service.CallAsync((s, r) => s.DeleteTargetsFromLibraryAsync(r), request);
        }
Пример #2
0
        // Deletes the specified target from the customer library. 
        // The operation requires exactly one identifier in a list.
        private void DeleteTargetsFromLibraryAsync(IList<long> targetIds)
        {
            var request = new DeleteTargetsFromLibraryRequest
            {
                TargetIds = targetIds
            };

            Service.CallAsync((s, r) => s.DeleteTargetsFromLibraryAsync(r), request);
        }