//get orederItem public Model.Item ParseIt(Entity.OrderItem item) { return(new Model.Item { Quantity = item.Quantity, PFK = item.Product, OID = (int)item.StoreOrder }); }
public Model.OrderItems ParseOrderItems(Entity.OrderItem orderItem) { return(new Model.OrderItems { OrderQuantity = orderItem.OrderQuantity, OrderItemID = orderItem.OrderProduct, OrderID = orderItem.Id }); }