Exemplo n.º 1
0
 public int UpdateDiscountCoupon(BLModel.DiscountCoupon discountCoupon)
 {
     return(_discountCouponRepository.Update((DLModel.DiscountCoupon) new DLModel.DiscountCoupon().InjectFrom(discountCoupon)));
 }
Exemplo n.º 2
0
 public int AddDiscountCoupon(BLModel.DiscountCoupon discountCoupon)
 {
     return(_discountCouponRepository.Add((DLModel.DiscountCoupon) new DLModel.DiscountCoupon().InjectFrom(discountCoupon)).CouponID);
 }