public DTO.DiscountCoupon GetDiscountCouponByID(int couponID) { return(Mapper.Map <DTO.DiscountCoupon>(_discountCoupon.GetDiscountCouponByID(couponID))); }
public void getDiscountCouponByID() { HCRGUniversity.Core.BL.Model.DiscountCoupon discountCoupon = _discountCouponBL.GetDiscountCouponByID(152); Assert.IsTrue(discountCoupon != null, "Unable to get"); }