public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string obj = context.Request["obj"]; LeaveModel model = JsonConvert.DeserializeObject <LeaveModel>(obj); context.Response.Write(bll.UptLeave(model)); }