Exemple #1
0
 /// <summary>
 /// Send notification email to specific users on process of title job
 /// </summary>
 /// <param name="jobStatus"></param>
 public void ProcessNotifications(JobStatus jobStatus)
 {
     //Send notifications only when job failed. As this job runs hourly basis, there will be lot of emails sent
     if (!jobStatus.Success)
     {
         _service.ProcessNotifications(Models.JobNotificationType.ProcessTitleReportNotification, jobStatus);
     }
 }
 public void ProcessNotifications(JobStatus jobStatus)
 {
     _service.ProcessNotifications(Models.JobNotificationType.LoadPriceReportNotification, jobStatus);
 }
 /// <summary>
 /// Send notification email to specific users on import of PipeLine order
 /// </summary>
 /// <param name="jobStatus"></param>
 public void ProcessNotifications(JobStatus jobStatus)
 {
     _service.ProcessNotifications(Models.JobNotificationType.LoadPipelineOrderNotification, jobStatus);
 }