mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Added completely awesome JobProvider. extremely easy to do async/timer tasks with ui status/notification already plugged in.
This commit is contained in:
parent
b86dac57e1
commit
9028e498ca
27 changed files with 677 additions and 444 deletions
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Web.Mvc;
|
||||
using NzbDrone.Core.Providers;
|
||||
using NzbDrone.Core.Providers.Timers;
|
||||
using NzbDrone.Core.Providers.Jobs;
|
||||
|
||||
namespace NzbDrone.Web.Controllers
|
||||
{
|
||||
public class SharedController : Controller
|
||||
{
|
||||
private readonly TimerProvider _timerProvider;
|
||||
private readonly JobProvider _jobProvider;
|
||||
|
||||
public SharedController(TimerProvider timerProvider)
|
||||
public SharedController(JobProvider jobProvider)
|
||||
{
|
||||
_timerProvider = timerProvider;
|
||||
_jobProvider = jobProvider;
|
||||
}
|
||||
|
||||
public ActionResult Index()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue