diff --git a/QuartzNetWebConsole/ControllerFactory.cs b/QuartzNetWebConsole/ControllerFactory.cs index 517cc5b..8237ef6 100644 --- a/QuartzNetWebConsole/ControllerFactory.cs +++ b/QuartzNetWebConsole/ControllerFactory.cs @@ -32,8 +32,8 @@ private static ISchedulerWrapper GetSchedulerWrapper() { Route("triggersByJob", ctx => TriggersByJobController.Execute(ctx, Setup.Scheduler)), }; - public static KeyValuePair> Route(string path, Action action) { - return new KeyValuePair>(path, action); + public static Route Route(string path, Action action) { + return new Route(path, action); } } } \ No newline at end of file