/// <summary> /// Removes one or more objects from one or more sequences. /// </summary> /// <param name="sequenceIds">A list of the sequence(s) from which objects should be removed.</param> /// <param name="searchOptions">The search options.</param> public async Task RemoveFromSequenceAsync(IEnumerable <int> sequenceIds, ApiSearchOptions searchOptions = null) => await _ontraObjects.RemoveFromSequenceAsync((ApiObjectType)_objectTypeId, sequenceIds, searchOptions);
/// <summary> /// Removes an object from a sequence. /// </summary> /// <param name="id">The id of the object to affect.</param> /// <param name="sequenceId">The sequence from which the object should be removed.</param> public async Task RemoveFromSequenceAsync(int id, int sequenceId) => await _ontraObjects.RemoveFromSequenceAsync((ApiObjectType)_objectTypeId, new ApiSearchOptions(id), new[] { sequenceId }).ConfigureAwait(false);