public DTO.DiscountCoupon GetDiscountCouponByCouponCode(string couponCode) { return(Mapper.Map <DTO.DiscountCoupon>(_discountCoupon.GetDiscountCouponByCouponCode(couponCode))); }
public void getDiscountCouponByCouponCode() { HCRGUniversity.Core.BL.Model.DiscountCoupon discountCoupon = _discountCouponBL.GetDiscountCouponByCouponCode("J6L1gEh0WV"); Assert.IsTrue(discountCoupon != null, "Unable to get"); }