Lidarr/src/Lidarr.Api.V1/Notifications/NotificationController.cs

17 lines
538 B
C#
Raw Normal View History

2021-08-04 20:42:40 +00:00
using Lidarr.Http;
using NzbDrone.Core.Notifications;
2017-09-04 02:20:56 +00:00
2017-10-31 01:28:29 +00:00
namespace Lidarr.Api.V1.Notifications
2017-09-04 02:20:56 +00:00
{
2021-08-04 20:42:40 +00:00
[V1ApiController]
public class NotificationController : ProviderControllerBase<NotificationResource, INotification, NotificationDefinition>
2017-09-04 02:20:56 +00:00
{
public static readonly NotificationResourceMapper ResourceMapper = new NotificationResourceMapper();
2021-08-04 20:42:40 +00:00
public NotificationController(NotificationFactory notificationFactory)
2017-09-04 02:20:56 +00:00
: base(notificationFactory, "notification", ResourceMapper)
{
}
}
}