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;
 }
Beispiel #2
0
        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);
        }