private void SynchronizeOrderRow(OrderEntity order, PsOrder psOrder, OrderRowEntity row) { if (psOrder.associations.order_rows.All(x => x.id != row.Id)) { order.RemoveRow(row); } }
private void UpdateRow(OrderRowEntity row, PsOrderRow psRow) { row.ChangeQuantity(psRow.product_quantity); }