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