Example #1
0
        /// <param name='operations'>
        /// Reference to the BoomTax.Api.SampleProject.IForm1094COperations.
        /// </param>
        /// <param name='id'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <Form1094C> GetAsync(this IForm1094COperations operations, int id, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <BoomTax.Api.SampleProject.Models.Form1094C> result = await operations.GetWithOperationResponseAsync(id, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }