Ejemplo n.º 1
0
        private void AddNewUsersToTeam(OmadaTeam team)
        {
            var selectedUsers = NotTeamMembers.Where(u => u.IsSelected == true).Select(u => u.User.Id).ToList();

            foreach (var user in selectedUsers)
            {
                teamData.AddUserToTeam(user, team.Id, 0);
            }
        }
Ejemplo n.º 2
0
 private void SerializeMembers()
 {
     membersJson = JsonSerializer.Serialize(NotTeamMembers.Select(m => m.User.UserName).ToList());
 }