public void JoinTeam(string userId, string token, string teamId) { if (!_inviteService.BurnToken(token)) { throw new Exception("Problema no token"); } userId = _userRepository.GetUserByLogin(userId).Id; AddMembers(teamId, new List <string>() { userId }); }