Exemplo n.º 1
0
 private async Task AddMessageToQueueAsync(CrmEmployerEventBase employerData)
 {
     await _messageQueueService.PushEmployerAupaBlankEmailMessageAsync(new SendEmployerAupaBlankEmail
     {
         Name         = employerData.Name,
         Owner        = employerData.OwnerIdName,
         ContactEmail = employerData.ContactEmail,
         ContactPhone = employerData.ContactTelephone1,
         CrmId        = new Guid(employerData.AccountId)
     });
 }