예제 #1
0
 public void RemovePromotion(PromotionTwoData promotionData)
 {
     if (_data.IndexOf(promotionData) > -1)
     {
         _data.Remove(promotionData);
     }
 }
예제 #2
0
 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));
 }