Exemple #1
0
 public void HandleEvent(ThresholdInfo eventMessage)
 {
     _notifyService.SendMail(eventMessage, "DB.Status").Wait();
 }
Exemple #2
0
 public void HandleEvent(ThresholdInfoDto eventMessage)
 {
     _notifyService.SendSMS(eventMessage, "DB.Warning").Wait();
     _notifyService.SendMail(eventMessage, "DB.Warning").Wait();
     _dbTargetRepository.Log(eventMessage.MonitorLog);
 }