Beispiel #1
0
        public virtual IGroup FindGroupByMembership(String userName, String membershipType, Relations relations)
        {
            IGroup    group     = null;
            DbSession dbSession = null;

            try
            {
                dbSession = OpenSession();
                group     = implementation.FindGroupByMembership(userName, membershipType, relations, dbSession);
            }
            catch (Exception t)
            {
                log.Error("error when finding group by membership type " + membershipType, t);
            }
            return(group);
        }