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:
markus101 2011-02-17 22:49:23 -08:00
parent dbca3a1974
commit 88ad555e75
11 changed files with 63 additions and 2 deletions

View file

@ -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");
}
}
}