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); }
// 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(); }