mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00:00
fa1b287d58
JobProvider is now wired working Job view ui is updated
26 lines
512 B
C#
26 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());
|
|
}
|
|
|
|
|
|
}
|
|
}
|