Ejemplo n.º 1
0
        public void InvitePlayer(string email, string teamId)
        {
            var subject     = $"You have been invited to team {teamId} on NT League";
            var tokenUrl    = _inviteService.GenerateTokenUrl(teamId);
            var bodyMessage = $"To accept the invite from {teamId} enter the link : {tokenUrl}";

            _inviteService.Invite(email, bodyMessage, subject);
        }