/// <summary> /// Remove a sinner from a group. If this sinner is the last member of it's /// group, the group will be deleted as well! /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupid'> /// </param> /// <param name='sinnerid'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <bool?> DeleteLeaveGroupAsync(this ISINnersClient operations, Guid?groupid = default(Guid?), Guid?sinnerid = default(Guid?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteLeaveGroupWithHttpMessagesAsync(groupid, sinnerid, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }