コード例 #1
0
ファイル: TeamService.cs プロジェクト: lkobus/DissidiaLeague
        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);
        }