1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00
Radarr/NzbDrone.Web/Controllers/Copy of SettingsController.cs

42 lines
1.1 KiB
C#
Raw Normal View History

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