public async Task <bool> GetEmailConfirmedAsync(UserDTO user, CancellationToken cancellationToken) { var userEntity = new UserEntity(user.Id, user.FirstName, user.LastName, user.Email, user.NormalizedEmail, user.EmailConfirmed, user.PasswordHash, user.BirthDate, user.RegistrationDate); return(await _userIdentity.GetEmailConfirmedAsync(userEntity, cancellationToken)); }