Esempio n. 1
0
 public async Task Handle(DistributeCouponEvent @event)
 {
     _emailService.BatchSendCouponsByUserEmailsAsync(@event.EmailAddresses, Mapper.Map <CouponDto>(@event.Coupon));
 }