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.Infrastructure.Mapper;
using Shipping.ShippingPoint.Domain;
using Shipping.ShippingPoint.Models;
namespace Shipping.ShippingPoint;
public static class MappingExtensions
{
public static ShippingPointModel ToModel(this ShippingPoints entity)
{
return entity.MapTo<ShippingPoints, ShippingPointModel>();
}
public static ShippingPoints ToEntity(this ShippingPointModel model)
{
return model.MapTo<ShippingPointModel, ShippingPoints>();
}
}