Example #1
0
 public List<CouponType> GetCouponTypes(bool addSelect)
 {
     List<CouponType> couponTypes = new CouponDL().GetCouponTypes();
     if (addSelect)
         couponTypes.Insert(0, new CouponType(-1, "Odaberi"));
     return couponTypes;
 }
Example #2
0
 public Coupon GetCoupon(string code)
 {
     CouponDL couponDL = new CouponDL();
     return couponDL.GetCoupon(code);
 }