Beispiel #1
0
        public async Task <string> RegisterEmailConfirmationCodeAsync(User user)
        {
            string code = Guid.NewGuid().ToString();
            await _storage.AddEmailConfirmationCodeCodeAsync(code, user.Email);

            return(code);
        }