Esempio n. 1
0
        /// <summary>
        /// Set Removed attribute to true
        /// </summary>
        /// <param name="id">Identifier of the history operation.</param>
        /// <param name="cancellationToken">A cancellation token that can be used to cancel the work.</param>
        public async Task SetRemovedAsync(string id,
                                          CancellationToken cancellationToken = default(CancellationToken))
        {
            var result = await _service.SetRemovedAsync(id, cancellationToken);

            Convert <object>(result);
        }
Esempio n. 2
0
 /// <summary>
 /// Mark history operation as removed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// Identifier of the history operation.
 /// </param>
 public static ErrorResponse SetRemoved(this IPayHistoryAPI operations, string id = default(string))
 {
     return(operations.SetRemovedAsync(id).GetAwaiter().GetResult());
 }