Exemple #1
0
 private async Task ProcessMessageAsync(PaymentRequestDetailsMessage message)
 {
     try
     {
         await _notificationsService.NotifyStatusUpdateAsync(
             Mapper.Map <InvoiceStatusUpdateNotification>(message));
     }
     catch (Exception ex)
     {
         _log.ErrorWithDetails(ex, message);
     }
 }
 public async Task MockPayment([FromBody] InvoiceStatusUpdateNotification model)
 {
     await _notificationsService.NotifyStatusUpdateAsync(model);
 }