public static ShippingLine ToEntity(this ShippingLineModel model, ShippingLine destination) { return(AutoMapperConfiguration.Mapper.Map(model, destination)); }
public static ShippingLine ToEntity(this ShippingLineModel model) { return(AutoMapperConfiguration.Mapper.Map <ShippingLineModel, ShippingLine>(model)); }