/// <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 <ResQYttriumWebApiModelsResultModel> UpdateFinancialDocumentExportAsync(this IFinancial operations, ResQYttriumWebApiModelsUpdateFinancialDocumentExportModel model, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateFinancialDocumentExportWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Create a new Amortization Calculator /// </summary> /// <param name="financial"></param> public AmortizationCalculator(IFinancial financial) { _financial = financial; }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='model'> /// </param> public static ResQYttriumWebApiModelsResultModel UpdateFinancialDocumentExport(this IFinancial operations, ResQYttriumWebApiModelsUpdateFinancialDocumentExportModel model) { return(Task.Factory.StartNew(s => ((IFinancial)s).UpdateFinancialDocumentExportAsync(model), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }