Exemple #1
0
 /// <summary>
 /// Update a tenant
 /// </summary>
 /// <remarks>
 /// Updates the tenant
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// The tenant within which the request should operate
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> UpdateTenantAsync(this ITenancyService operations, string tenantId, IList <UpdateTenantJsonPatchEntry> body, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UpdateTenantWithHttpMessagesAsync(tenantId, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }