| 1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace GreenTree.Maschinenbestellungen.Services.Notification
- {
- public interface INotificationService
- {
- /// <summary>
- /// Sends a notification to a specific target
- /// </summary>
- /// <param name="target">The single target.</param>
- /// <param name="subject">The subject.</param>
- /// <param name="message">The message.</param>
- public void SendNotification(string target, string subject, string message);
- /// <summary>
- /// Sends a notification to multiple targets
- /// </summary>
- /// <param name="targets">The targets.</param>
- /// <param name="subject">The subject.</param>
- /// <param name="message">The message.</param>
- public void SendNotification(string[] targets, string subject, string message);
- }
- }
|