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

            return(result.Body);
        }