1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-11 14:59:46 +02:00
Sonarr/NzbDrone.Web/Controllers/JobController.cs
kay.one fa1b287d58 JobProvider now stores last execution and success
JobProvider is now wired working
Job view ui is updated
2011-04-21 22:46:47 -07:00

27 lines
512 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NzbDrone.Core.Providers.Jobs;
namespace NzbDrone.Web.Controllers
{
public class JobController : Controller
{
private readonly JobProvider _jobProvider;
public JobController(JobProvider jobProvider)
{
_jobProvider = jobProvider;
}
public ActionResult Index()
{
return View(_jobProvider.All());
}
}
}