mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Delete is setup, just need to add a link to follow through on the delete.
Removes EpisodeFiles, Episodes, Season and then the Series.
This commit is contained in:
@@ -181,5 +181,13 @@ namespace NzbDrone.Web.Controllers
|
||||
_seriesProvider.UpdateSeries(series);
|
||||
return Content("Series Updated Successfully");
|
||||
}
|
||||
|
||||
public ActionResult Delete(int seriesId)
|
||||
{
|
||||
//Need to add seriesProvider.Update
|
||||
_seriesProvider.DeleteSeries(seriesId);
|
||||
|
||||
return RedirectToAction("Index", "Series");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user