BusinessLogic.Logic.GamingGroups.GamingGroupSaver.AssociateUserWithGamingGroup C# (CSharp) Метод

AssociateUserWithGamingGroup() приватный Метод

private AssociateUserWithGamingGroup ( ApplicationUser currentUser, GamingGroup newGamingGroup ) : Player
currentUser ApplicationUser
newGamingGroup GamingGroup
Результат Player
        private Player AssociateUserWithGamingGroup(ApplicationUser currentUser, GamingGroup newGamingGroup)
        {
            this.AddUserGamingGroupRecord(currentUser, newGamingGroup);

            this.SetGamingGroupOnCurrentUser(currentUser, newGamingGroup);

            return this.AddUserToGamingGroupAsPlayer(currentUser);
        }