initial commit from an older template
This commit is contained in:
21
Utils/Factory/MailNotificationsFactory.cs
Executable file
21
Utils/Factory/MailNotificationsFactory.cs
Executable file
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user