mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System;
|
|
using Lidarr.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using NzbDrone.Core.Notifications;
|
|
|
|
namespace Lidarr.Api.V1.Notifications
|
|
{
|
|
[V1ApiController]
|
|
public class NotificationController : ProviderControllerBase<NotificationResource, NotificationBulkResource, INotification, NotificationDefinition>
|
|
{
|
|
public static readonly NotificationResourceMapper ResourceMapper = new ();
|
|
public static readonly NotificationBulkResourceMapper BulkResourceMapper = new ();
|
|
|
|
public NotificationController(NotificationFactory notificationFactory)
|
|
: base(notificationFactory, "notification", ResourceMapper, BulkResourceMapper)
|
|
{
|
|
}
|
|
|
|
[NonAction]
|
|
public override ActionResult<NotificationResource> UpdateProvider([FromBody] NotificationBulkResource providerResource)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[NonAction]
|
|
public override object DeleteProviders([FromBody] NotificationBulkResource resource)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|