コード例 #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));
        }
コード例 #2
0
        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));
        }