Пример #1
0
        public IActionResult GetCouponDetailsAsFile(int couponid)
        {
            var codes = _repos.GetCodesByManagementId(couponid);
            var model = CouponModelFactory.GetCouponCodesForManagement(codes.Result.Entity);

            return(Ok(model));
        }