public static IKernel GetNinjectKernel(this IOwinContext context) { return(context.GetEnvironmentProperty <IKernel>()); }