예제 #1
0
 /// <summary>
 /// Update entity in spice_serviceses
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='spiceServicesid'>
 /// key: spice_servicesid of spice_services
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this IServiceses operations, string spiceServicesid, MicrosoftDynamicsCRMspiceServices body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(spiceServicesid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
예제 #2
0
 /// <summary>
 /// Update entity in spice_serviceses
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='spiceServicesid'>
 /// key: spice_servicesid of spice_services
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this IServiceses operations, string spiceServicesid, MicrosoftDynamicsCRMspiceServices body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(spiceServicesid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }