mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Delete added to indexers
This commit is contained in:
@@ -19,6 +19,7 @@ namespace NzbDrone.Api.Indexers
|
||||
GetResourceAll = GetAll;
|
||||
CreateResource = CreateIndexer;
|
||||
UpdateResource = UpdateIndexer;
|
||||
DeleteResource = DeleteIndexer;
|
||||
}
|
||||
|
||||
private List<IndexerResource> GetAll()
|
||||
@@ -80,5 +81,10 @@ namespace NzbDrone.Api.Indexers
|
||||
|
||||
return indexer;
|
||||
}
|
||||
|
||||
private void DeleteIndexer(int id)
|
||||
{
|
||||
_indexerService.Delete(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user