Beispiel #1
0
 public async Task CompleteMonitoringTaskAsync(
     string completionToken)
 {
     try
     {
         await _transactionMonitoringTaskRepository.CompleteAsync(completionToken);
     }
     catch (Exception e)
     {
         _log.Error(e, "Failed to complete transaction monitoring task.");
     }
 }
 public async Task CompleteMonitoringTaskAsync(
     TransactionMonitoringTask task)
 {
     try
     {
         await _transactionMonitoringTaskRepository.CompleteAsync(task);
     }
     catch (Exception e)
     {
         _log.Warning("Failed to complete transaction monitoring task.", e);
     }
 }