Ejemplo n.º 1
0
        /// <param name='operations'>
        /// Reference to the XamMvvmAndWebServices.ICustomers.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <IList <Customer> > GetCustomersAsync(this ICustomers operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <XamMvvmAndWebServices.Models.Customer> > result = await operations.GetCustomersWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }