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.Business.Common.Utilities;
using Grand.Business.Core.Interfaces.ExportImport;
namespace Grand.Business.Common.Services.ExportImport;
public class ExcelImportProvider : IImportDataProvider
{
public async Task<IEnumerable<T>> Convert<T>(Stream stream)
{
var excel = new PowerExcelMapper {
SkipBlankCells = false
};
return await excel.FetchAsync<T>(stream);
}
}