Exemple #1
0
 public async Task Apply(UserCreated evnt)
 {
     await _store.InsertAsync(new UserView
     {
         Id = evnt.UserId,
         Email = evnt.Email,
     });
 }
 public async Task Apply(UserCreated evnt)
 {
     await _emailSender.SendEmail(evnt.Email, EMAIL_GREETING);
 }