Exemplo n.º 1
0
        public Task <bool> GetEmailConfirmedAsync(MyUser user)
        {
            if (string.IsNullOrWhiteSpace(user.Id))
            {
                return(Task.FromResult(user.EmailVerified));
            }

            var id            = int.Parse(user.Id);
            var emailVerified = _userService.GetUserEmailVerified(id);

            return(Task.FromResult(emailVerified));
        }