public string DeleteFirewall(string id) { int RequestedID = Convert.ToInt32(id); using (AssociateConnDataContext asscon = new AssociateConnDataContext()) { try { int retasct = 0; retasct = asscon.Delete_Firewall(RequestedID); if (!(retasct == 0)) return "success"; else return "failure"; } catch (Exception ex) { throw ex; } } }