pull/470/head
tidusjar 9 years ago
parent 7a6ee7e98d
commit 6c4b5e44c9

@ -166,7 +166,6 @@ namespace PlexRequests.UI
private void ConfigureContainer(IKernel container)
{
var loc = ServiceLocator.Instance;
loc.SetContainer(container);
}

@ -26,13 +26,7 @@
#endregion
using System;
using MediatR;
using Nancy.TinyIoc;
using Ninject;
using Ninject.Extensions.Conventions;
using Ninject.Modules;
using Ninject.Planning.Bindings.Resolvers;
using NLog;
@ -59,9 +53,7 @@ namespace PlexRequests.UI
kernel.Components.Add<IBindingResolver, ContravariantBindingResolver>();
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
var scheduler = new Scheduler();
scheduler.StartScheduler();
}

Loading…
Cancel
Save