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.Catalog;
namespace Grand.Module.Installer.Services;
public partial class InstallationService
{
protected virtual Task InstallBrandLayouts()
{
var brandLayouts = new List<BrandLayout> {
new() {
Name = "Grid or Lines",
ViewPath = "BrandLayout.GridOrLines",
DisplayOrder = 1
}
};
brandLayouts.ForEach(x => _brandLayoutRepository.Insert(x));
return Task.CompletedTask;
}
}