Sources/Infrastructure/Assemblers/IdentityUserAssembler.cs
/// <summary>
/// assemble from identity user list to result user list
/// </summary>
/// <param name="userList">identity user list</param>
/// <returns>Result user list</returns>
assemble from identity user list to result user list
assemble from identity user list to result user list
internal static IEnumerable<UserResult> ToResultList(this IEnumerable<User> userList)
        {
            if (userList == null || !userList.Any())
            {
                return null;
            }
            return userList.Where(u => u != null).Select(u => u.ToResult());
        }
internal static IEnumerable < UserResult > ToResultList ( this IEnumerable < User > userList ) { if ( userList == null || ! userList . Any ( ) ) { return null ; } return userList . Where ( u => u != null ) . Select ( u => u . ToResult ( ) ) ; }
assemble from identity user list to result user list
assemble from identity user list to result user list
Result user list
Result user list
IEnumerable<User>
this
userList
identity user list
identity user list