public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            DependencyResolver.SetResolver(container.Resolve, type => container.ResolveAll(type).Cast<object>());

            container.Singleton<IDbContextProvider, DbContextProvider>();

            container.Register(
                Types.FromThisAssembly()
                    .Where(type => !type.IsAbstract && type.Name.EndsWith("Manager"))
                    .WithServiceFirstInterface()
                    .LifestyleSingleton());
        }