private StoreModuleController GetStoreController()
        {
            Func<IPlatformRepository> platformRepositoryFactory = () => new PlatformRepository("VirtoCommerce", new EntityPrimaryKeyGeneratorInterceptor(), new AuditableInterceptor());
            Func<IStoreRepository> repositoryFactory = () => new StoreRepositoryImpl("VirtoCommerce", new EntityPrimaryKeyGeneratorInterceptor(), new AuditableInterceptor());

            var dynamicPropertyService = new DynamicPropertyService(platformRepositoryFactory);
            var storeService = new StoreServiceImpl(repositoryFactory, GetCommerceService(), null, dynamicPropertyService, null, null, null);

            var controller = new StoreModuleController(storeService, null, null);
            return controller;
        }
		private StoreModuleController GetStoreController()
		{
			Func<IStoreRepository> repositoryFactory = () =>
			{
				return new StoreRepositoryImpl("VirtoCommerce", new EntityPrimaryKeyGeneratorInterceptor(), new AuditableInterceptor());
			};

			var shippingService = new ShippingServiceImpl();
			var storeService = new StoreServiceImpl(repositoryFactory, GetCommerceService(), null, null,  null);
			var controller = new StoreModuleController(storeService, null, null);
			return controller;
		}