/// <summary> /// Add reference to adoxio_workers /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='incidentId'> /// key: incidentId /// </param> /// <param name='fieldname'> /// key: fieldname /// </param> /// <param name='odataid'> /// reference value /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task AddReferenceAsync(this IIncidents operations, string incidentId, string fieldname, OdataId odataid = default(OdataId), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.AddReferenceWithHttpMessagesAsync(incidentId, fieldname, odataid, null, cancellationToken).ConfigureAwait(false)).Dispose(); }