22 lines
571 B
C#
Executable File
22 lines
571 B
C#
Executable File
using System.Net.Mail;
|
|
|
|
namespace GamificationService.Utils.Factory;
|
|
|
|
public class MailNotificationsFactory
|
|
{
|
|
public static Notification CreateNotification(NotificationInformationType type,
|
|
string title,
|
|
string message,List<Attachment> attachments)
|
|
{
|
|
return new MailNotification(type, title, message, attachments);
|
|
}
|
|
public Notification CreateNotification(NotificationInformationType type,
|
|
string title,
|
|
string message)
|
|
{
|
|
|
|
return new MailNotification(type, title, message);
|
|
|
|
}
|
|
}
|