示例#1
0
        public async Task <UserDTO> FindByNameAsync(string normalizedUserName, CancellationToken cancellationToken)
        {
            var entity = await _userIdentity.FindByNameAsync(normalizedUserName, cancellationToken);

            return(GenericMapper <UserEntity, UserDTO> .ToDto(entity));
        }