public int PostTopic(Cog.MLIAD.BusinessLogic.Associate.Discussion newtopic) { int retVal = 0; try { using (AssociateConnDataContext asscon = new AssociateConnDataContext()) { retVal = asscon.Post_NewTopic(newtopic.TopicHeader, newtopic.IsParent, newtopic.CreatedBy, newtopic.GroupID, newtopic.TopicDesc, newtopic.Category.CategoryID); } } catch (Exception e) { throw e; } return retVal; }