public static bool Delete(Int32 orderId, String couponCode) { OrderCoupon orderCoupon = new OrderCoupon(); if (orderCoupon.Load(orderId, couponCode)) { return(orderCoupon.Delete()); } return(false); }
public static bool Delete(OrderCoupon orderCoupon) { return(orderCoupon.Delete()); }