mirror of https://github.com/lidarr/Lidarr
18 lines
579 B
C#
18 lines
579 B
C#
using Lidarr.Http;
|
|
using NzbDrone.Core.Indexers;
|
|
|
|
namespace Lidarr.Api.V1.Indexers
|
|
{
|
|
[V1ApiController]
|
|
public class IndexerController : ProviderControllerBase<IndexerResource, IndexerBulkResource, IIndexer, IndexerDefinition>
|
|
{
|
|
public static readonly IndexerResourceMapper ResourceMapper = new ();
|
|
public static readonly IndexerBulkResourceMapper BulkResourceMapper = new ();
|
|
|
|
public IndexerController(IndexerFactory indexerFactory)
|
|
: base(indexerFactory, "indexer", ResourceMapper, BulkResourceMapper)
|
|
{
|
|
}
|
|
}
|
|
}
|