コード例 #1
0
        public void ProcessRequest(HttpContext context)
        {
            try
            {
                string strJson = System.Web.HttpContext.Current.Server.UrlDecode(context.Request.Form.ToString());

                LabMS.Model.PostPlateJson ppj = (LabMS.Model.PostPlateJson)Newtonsoft.Json.JavaScriptConvert.DeserializeObject(strJson, typeof(LabMS.Model.PostPlateJson));

                ExtendBLL.PostPlate pp = new ExtendBLL.PostPlate();

                pp.UpdateModerators(ppj);

                context.Response.ContentType = "application/json";
                context.Response.Write("{success: true}");
            }
            catch { }
        }