mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07: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:
parent
dbca3a1974
commit
88ad555e75
11 changed files with 63 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue