Ejemplo n.º 1
0
        public async Task <bool> SendWhitelistIpEmailAsync(IPAddress connectionIp, User user, string baseUrl)
        {
            var token        = _jsonWebTokenService.CreateWhitelistIpValidationToken(user, connectionIp);
            var emailRequest = CreateValidationWhitelistIpRequest(user, token);

            return(await SendEmailAsync(emailRequest));
        }