/// <param name='operations'> /// Reference to the ContactsList.MVC.IContacts. /// </param> /// <param name='contact'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <Contact> PutAsync(this IContacts operations, Contact contact, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <ContactsList.MVC.Models.Contact> result = await operations.PutWithOperationResponseAsync(contact, cancellationToken).ConfigureAwait(false); return(result.Body); }