Exemplo n.º 1
0
        public IHttpActionResult GetAwardedCouponList()
        {
            var ret = _couponService.GetAwardedCouponList();

            if (ret == null)
            {
                throw new HttpResponseException(HttpStatusCode.Unauthorized);
            }

            return(Json(ret));
        }