MCLawl.Group.findPermInt C# (CSharp) Method

findPermInt() public static method

public static findPermInt ( int Perm ) : Group
Perm int
return Group
        public static Group findPermInt(int Perm)
        {
            return GroupList.FirstOrDefault(grp => (int)grp.Permission == Perm);
        }