Пример #1
0
        public ActionResult <CouponDto> FindById(string id)
        {
            var coupon = _couponManager.FindCouponById(id);

            if (coupon == null)
            {
                return(NotFound());
            }

            return(coupon);
        }