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