Exemple #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> PutMortgageAsync(this ICollateral operations, Models.Presentation.Requests.Mortgage.Mortgage collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PutMortgageWithHttpMessagesAsync(collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #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> PostMortgageToCreditagreementAsync(this ICollateral operations, string id, Models.Presentation.Requests.Mortgage.Mortgage collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostMortgageToCreditagreementWithHttpMessagesAsync(id, collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static object PutMortgage(this ICollateral operations, Models.Presentation.Requests.Mortgage.Mortgage collateral)
 {
     return(operations.PutMortgageAsync(collateral).GetAwaiter().GetResult());
 }
Exemple #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static string PostMortgageToCreditagreement(this ICollateral operations, string id, Models.Presentation.Requests.Mortgage.Mortgage collateral)
 {
     return(operations.PostMortgageToCreditagreementAsync(id, collateral).GetAwaiter().GetResult());
 }