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