#96 modify notifications interface/service to accept a non-type specific settings object.

This commit is contained in:
Drewster727 2016-03-28 13:27:10 -05:00
commit 45208e528f
6 changed files with 13 additions and 11 deletions

View file

@ -37,6 +37,6 @@ namespace PlexRequests.Services.Interfaces
Task NotifyAsync(NotificationModel model);
Task NotifyAsync(NotificationModel model, EmailNotificationSettings settings);
Task NotifyAsync(NotificationModel model, Settings settings);
}
}

View file

@ -34,7 +34,7 @@ namespace PlexRequests.Services.Interfaces
public interface INotificationService
{
Task Publish(NotificationModel model);
Task Publish(NotificationModel model, EmailNotificationSettings settings);
Task Publish(NotificationModel model, Settings settings);
void Subscribe(INotification notification);
void UnSubscribe(INotification notification);