private static void RegisterServices(IKernel kernel) { var resolver = new DIResolver(); kernel = resolver.GetDefaultKernel(); }