Example #1
0
        private Role FindRole(RoleType roleType)
        {
            var role = _dao.FindSingleByQuery <Role>(Role.RoleByName, roleType.GetName());

            if (role == null)
            {
                Log.WarnFormat("role {0} not found for group", roleType.GetName());
            }
            return(role);
        }