public string AddSoftware(Cog.MLIAD.BusinessLogic.Associate.SoftwareRequest software) { using (AssociateConnDataContext asscon = new AssociateConnDataContext()) { try { int retval = asscon.Add_Software(software.SoftResourceID, software.SoftCategoryID, software.SoftVersionID, software.ProjectID); if (retval == 1) return "sucess"; else return "failure"; } catch (Exception ex) { throw ex; } } }