private static void RowValuesToPriceTableRows(RowValues values, BulkPriceAdExtension c)
        {
            var priceAdExtension = c.PriceAdExtension;

            priceAdExtension.TableRows = new List <PriceTableRow>();

            PriceTableRowHelper.AddPriceTableRowsFromRowValues(values, priceAdExtension.TableRows);
        }
        private static void PriceTableRowsToRowValues(BulkPriceAdExtension c, RowValues values)
        {
            if (c.PriceAdExtension == null)
            {
                return;
            }

            var priceAdExtension = c.PriceAdExtension;

            if (priceAdExtension.TableRows == null)
            {
                return;
            }

            PriceTableRowHelper.AddRowValuesFromPriceTableRows(priceAdExtension.TableRows, values);
        }