protected void btnDelete_Click(object sender, EventArgs e) { try { Claim claim = new Claim(); claim.Delete(Id, User.Id); Response.Redirect(ListUrl); } catch (Exception ex) { ServerMessageDisplay(new[] { phServerMessage }, ex.Message, true); } }