Ejemplo n.º 1
0
        /// <param name='operations'>
        /// Reference to the ZtherApiIntegration.API.ICountries.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <CountryList> GetAllAsync(this ICountries operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <ZtherApiIntegration.API.Models.CountryList> result = await operations.GetAllWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }