public static coreModel.ShipmentItem ToCoreModel(this webModel.ShipmentItem shipmentItem)
		{
			var retVal = new coreModel.ShipmentItem();
			retVal.InjectFrom(shipmentItem);

			if (shipmentItem.LineItem != null)
			{
				retVal.LineItem = shipmentItem.LineItem.ToCoreModel();
			}
			
			return retVal;
		}
Ejemplo n.º 2
0
        public static coreModel.ShipmentItem ToCoreModel(this webModel.ShipmentItem shipmentItem)
        {
            var retVal = new coreModel.ShipmentItem();

            retVal.InjectFrom(shipmentItem);

            if (shipmentItem.LineItem != null)
            {
                retVal.LineItem = shipmentItem.LineItem.ToCoreModel();
            }

            return(retVal);
        }