mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Delete added to indexers
This commit is contained in:
parent
1e61f501dc
commit
0ffb72bca1
7 changed files with 62 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue