Ejemplo n.º 1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ResQYttriumWebApiModelsClientCsiResultModel> PostBulkCsiResponsesAsync(this IClientCsi operations, ResQYttriumWebApiModelsBulkClientCsiModel model, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostBulkCsiResponsesWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ResQYttriumWebApiModelsClientCsiResultModel PostBulkCsiResponses(this IClientCsi operations, ResQYttriumWebApiModelsBulkClientCsiModel model)
 {
     return(Task.Factory.StartNew(s => ((IClientCsi)s).PostBulkCsiResponsesAsync(model), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult());
 }