private static void InitContainer()
 {
     container = ContainerFactory.GetContainer();
     container.RegisterInstance(typeof(Container), container);
 }