Beispiel #1
0
        public static bool Delete(Int32 orderId, String couponCode)
        {
            OrderCoupon orderCoupon = new OrderCoupon();

            if (orderCoupon.Load(orderId, couponCode))
            {
                return(orderCoupon.Delete());
            }
            return(false);
        }
Beispiel #2
0
 public static bool Delete(OrderCoupon orderCoupon)
 {
     return(orderCoupon.Delete());
 }