Skip to content

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.

719 B
Raw Blame
using Grand.Domain.Orders;

namespace Grand.Module.Installer.Services;

public partial class InstallationService
{
    protected virtual Task InstallMerchandiseReturnActions()
    {
        var merchandiseReturnActions = new List<MerchandiseReturnAction> {
            new() {
                Name = "Repair",
                DisplayOrder = 1
            },
            new() {
                Name = "Replacement",
                DisplayOrder = 2
            },
            new() {
                Name = "Store Credit",
                DisplayOrder = 3
            }
        };
        merchandiseReturnActions.ForEach(x => _merchandiseReturnActionRepository.Insert(x));
        return Task.CompletedTask;
    }
}