Ejemplo n.º 1
0
 /// <summary>
 /// Deletes group resource
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ErrorResponse DeleteGroupResource(this IResourcesAPI operations, DeleteGroupResourceModel model = default(DeleteGroupResourceModel))
 {
     return(operations.DeleteGroupResourceAsync(model).GetAwaiter().GetResult());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deletes group resource
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorResponse> DeleteGroupResourceAsync(this IResourcesAPI operations, DeleteGroupResourceModel model = default(DeleteGroupResourceModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteGroupResourceWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }