コード例 #1
0
        public bool Execute(string packageName, XmlNode xmlData)
        {
            var installer = new ConfigurationInstaller();

            installer.Configure();

            // Install Demo store Catalog
            var installer2 = new CatalogueInstaller("avenue-clothing.com", "Demo Store");

            installer2.Configure();

            CreateMediaContent();

            DeleteOldUCommerceData();

            PublishContent();

            return(true);
        }
コード例 #2
0
ファイル: Startup.cs プロジェクト: CsillagDavid/AdmissionTest
 // This method gets called by the runtime. Use this method to add services to the container.
 public void ConfigureServices(IServiceCollection services)
 {
     services.AddCors();
     ConfigurationInstaller.Configure(Configuration, services);
     services.AddControllers();
 }