public ForumGroupInfo GetForumGroup(int moduleId, int forumGroupId) { var db = new Data.Groups(); ForumGroupInfo gi = null; using (var dr = db.Groups_Get(moduleId, forumGroupId)) { while (dr.Read()) { gi = FillForumGroup(dr); } dr.Close(); } return gi; }
public ForumGroupInfo GetForumGroup(int moduleId, int forumGroupId) { var db = new Data.Groups(); ForumGroupInfo gi = null; using (var dr = db.Groups_Get(moduleId, forumGroupId)) { while (dr.Read()) { gi = FillForumGroup(dr); } dr.Close(); } return(gi); }