private void DelUser(HttpContext context) { context.Response.ContentType = "text/plain"; int uid = int.Parse(context.Request.Params["uId"].ToString()); int uIsDel = int.Parse(context.Request.Params["uIsDel"].ToString()); bll_u = new BLL.UsersBLL(); int isdel = bll_u.DeleteUserByID(uid, uIsDel); if (isdel > 0) { context.Response.Write("ok"); context.Response.End(); } else { context.Response.Write("no"); context.Response.End(); return; } }