Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.Domain.Tax;
namespace Grand.Module.Installer.Services;
public partial class InstallationService
{
protected virtual Task InstallTaxCategories()
{
var taxCategories = new List<TaxCategory> {
new() {
Name = "Home & Living",
DisplayOrder = 1
},
new() {
Name = "Electronics & Software",
DisplayOrder = 5
},
new() {
Name = "Downloadable Products",
DisplayOrder = 10
},
new() {
Name = "Sports & Outdoor",
DisplayOrder = 15
},
new() {
Name = "Apparel",
DisplayOrder = 20
}
};
taxCategories.ForEach(x => _taxCategoryRepository.Insert(x));
return Task.CompletedTask;
}
}