public void DeleteCaseById() { int id = int.Parse(Request.Form["id"]); transactionModel tm = new transactionModel(); tm.DeleteCaseById(id); Response.Write("success"); }