Ejemplo n.º 1
0
        public UserCouponDto GetDefault(int userId, int totalFee)
        {
            if (userId <= 0)
            {
                return(null);
            }

            using (var cxt = DbContext(DbOperation.Read))
            {
                var repo = new CouponRepo(cxt);
                return(repo.GetDefault(userId, totalFee));
            }
        }