public void RemovePromotion(PromotionTwoData promotionData) { if (_data.IndexOf(promotionData) > -1) { _data.Remove(promotionData); } }
public void RemovePromotionTwo(PromotionTwoData prom2) { this._promotionTwo.RemovePromotion(prom2); this._productNamesPromoted.RemoveAll(u => u.Contains(prom2.ProductOneName)); this._productNamesPromoted.RemoveAll(u => u.Contains(prom2.ProductTwoName)); }