Exemple #1
0
        /// <summary>
        /// 获取购买方式
        /// </summary>
        /// <param name="context">上下文对象</param>
        public void GetRecordName(HttpContext context)
        {
            BLL.DICDomain bll = new BLL.DICDomain();
            DataTable     dt  = bll.GetRecordName();

            context.Response.Write(JsonConvert.SerializeObject(dt));
        }
        public void GetTypeListJson(HttpContext context)
        {
            BLL.DICDomain domainBLL             = new BLL.DICDomain();
            List <Common.Entity.DICDomain> list = new List <Common.Entity.DICDomain>();

            list = domainBLL.GetTypeListJson();
            context.Response.Write(JsonConvert.SerializeObject(list));
        }