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.Orders;
namespace Grand.Module.Installer.Services;
public partial class InstallationService
{
protected virtual Task InstallMerchandiseReturnReasons()
{
var merchandiseReturnReasons = new List<MerchandiseReturnReason> {
new() {
Name = "Received Wrong Product",
DisplayOrder = 1
},
new() {
Name = "Wrong Product Ordered",
DisplayOrder = 2
},
new() {
Name = "There Was A Problem With The Product",
DisplayOrder = 3
}
};
merchandiseReturnReasons.ForEach(x => _merchandiseReturnReasonRepository.Insert(x));
return Task.CompletedTask;
}
}