1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Web/Controllers/Copy of SettingsController.cs
markus101 da979639ba More config pages have been added. AJAX to save. Order with jquery sortable.
Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
2011-01-28 22:10:22 -08:00

42 lines
1.1 KiB
C#

//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading;
//using System.Web;
//using System.Web.Mvc;
//using NzbDrone.Core.Providers;
//using NzbDrone.Web.Models;
//namespace NzbDrone.Web.Controllers
//{
// [HandleError]
// public class SettingsController : Controller
// {
// //
// // GET: /Settings/
// private IConfigProvider _configProvider;
// public SettingsController(IConfigProvider configProvider)
// {
// _configProvider = configProvider;
// }
// public ActionResult Index()
// {
// return View(new SettingsModel() { TvFolder = _configProvider.SeriesRoot });
// }
// [HttpPost]
// public ActionResult Index(SettingsModel model)
// {
// if (ModelState.IsValid)
// {
// _configProvider.SeriesRoot = model.TvFolder;
// //return RedirectToAction("index");
// }
// return RedirectToAction("index", "series");
// }
// }
//}