private static void RowValuesToConditions(RowValues values, BulkCampaignProductScope c)
        {
            var product = (ProductScope)c.BiddableCampaignCriterion.Criterion;

            product.Conditions = new List <ProductCondition>();

            ProductConditionHelper.AddConditionsFromRowValues(values, product.Conditions);
        }
        private static void ConditionsToRowValues(BulkCampaignProductScope c, RowValues values)
        {
            if (c.BiddableCampaignCriterion.Criterion == null)
            {
                return;
            }

            var product = (ProductScope)c.BiddableCampaignCriterion.Criterion;

            if (product.Conditions == null)
            {
                return;
            }

            ProductConditionHelper.AddRowValuesFromConditions(product.Conditions, values);
        }