/// <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); }