public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/html"; BLL.Products bllPro = new BLL.Products(); int id = Convert.ToInt32(context.Request.Form["id"]); if (bllPro.DeleteProduct(id)) { context.Response.Write("OK"); } }