/// <summary>
        /// 获取所有优惠券规则
        /// </summary>
        /// <returns></returns>
        public ActionResult GetAllCouponRules()
        {
            var manager = new VipBaoYangPackageManager();
            var result  = manager.GetAllCouponRules();

            return(Json(new
            {
                data = result.Select(x => new
                {
                    RuleID = x.Key,
                    Name = x.Value
                })
            }, JsonRequestBehavior.AllowGet));
        }