|
|
|
@ -38,11 +38,16 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ActionResult Index()
|
|
|
|
|
{
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
public ActionResult Series()
|
|
|
|
|
{
|
|
|
|
|
var series = GetSeriesModels(_seriesProvider.GetAllSeriesWithEpisodeCount());
|
|
|
|
|
var serialized = new JavaScriptSerializer().Serialize(series);
|
|
|
|
|
|
|
|
|
|
return View((object)serialized);
|
|
|
|
|
return Json(new { aaData = series }, JsonRequestBehavior.AllowGet);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ActionResult Edit(int seriesId)
|
|
|
|
|