Ejemplo n.º 1
0
 public void Consume(PaymentLevelAdded message)
 {
     _repository.PaymentLevels.Add(new PaymentLevel
     {
         Id   = message.Id,
         Name = message.Name
     });
     _repository.SaveChanges();
 }
 public void Consume(PaymentLevelAdded message)
 {
     _eventHandlers.Handle(message);
 }
Ejemplo n.º 3
0
 public void Handle(PaymentLevelAdded @event)
 {
     AddActivityLog(AdminActivityLogCategory.PaymentLevel, @event);
 }