Пример #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collateral'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> PutCarAsync(this ICollateral operations, Models.Presentation.Requests.Car.Car collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PutCarWithHttpMessagesAsync(collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='collateral'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <string> PostCarToCreditAgreementAsync(this ICollateral operations, string id, Models.Presentation.Requests.Car.Car collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostCarToCreditAgreementWithHttpMessagesAsync(id, collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static object PutCar(this ICollateral operations, Models.Presentation.Requests.Car.Car collateral)
 {
     return(operations.PutCarAsync(collateral).GetAwaiter().GetResult());
 }
Пример #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static string PostCarToCreditAgreement(this ICollateral operations, string id, Models.Presentation.Requests.Car.Car collateral)
 {
     return(operations.PostCarToCreditAgreementAsync(id, collateral).GetAwaiter().GetResult());
 }