/// <summary> /// Update entity in adoxio_corporateroles /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioCorporateroleid'> /// key: adoxio_corporateroleid /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task UpdateAsync(this ICorporateroles operations, string adoxioCorporateroleid, MicrosoftDynamicsCRMadoxioCorporaterole body, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.UpdateWithHttpMessagesAsync(adoxioCorporateroleid, body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Update entity in adoxio_corporateroles /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioCorporateroleid'> /// key: adoxio_corporateroleid of adoxio_corporaterole /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static HttpOperationResponse UpdateWithHttpMessages(this ICorporateroles operations, string adoxioCorporateroleid, MicrosoftDynamicsCRMadoxioCorporaterole body, Dictionary <string, List <string> > customHeaders = null) { return(operations.UpdateWithHttpMessagesAsync(adoxioCorporateroleid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }