コード例 #1
0
 public virtual async Task SendToQueue(CustomerNotification.Created notification)
 => await _queueHandler.Send(notification, _queuesSettings.CustomerCreatedQueueName);
コード例 #2
0
 public virtual async Task SendToQueue(PaymentNotification.Created notification)
 => await _queueHandler.Send(_mapper.Map <PaymentNotification.Created>(notification), _queuesSettings.PaymentCreatedQueueName);