/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='term'> /// </param> /// <param name='uscid'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetAsync(this IFaoPWARPlusLoans operations, string term, string uscid, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(term, uscid, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='term'> /// </param> /// <param name='uscid'> /// </param> public static object Get(this IFaoPWARPlusLoans operations, string term, string uscid) { return(operations.GetAsync(term, uscid).GetAwaiter().GetResult()); }