public static bool Delete(Int32 couponId) { Coupon coupon = new Coupon(); if (coupon.Load(couponId)) { return(coupon.Delete()); } return(false); }
public static bool Delete(Coupon coupon) { return(coupon.Delete()); }