/// <param name='operations'> /// Reference to the XamMvvmAndWebServices.ICustomers. /// </param> /// <param name='customer'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <Customer> PostCustomerAsync(this ICustomers operations, Customer customer, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <XamMvvmAndWebServices.Models.Customer> result = await operations.PostCustomerWithOperationResponseAsync(customer, cancellationToken).ConfigureAwait(false); return(result.Body); }