コード例 #1
0
        public async Task <UserSearchResult> List(IUserSearchQuery query)
        {
            var results = await repo.List(new InputModels.IdServerUserQuery()
            {
                Limit    = query.Limit,
                Offset   = query.Offset,
                UserId   = query.UserId,
                UserName = query.UserName
            });

            return(new UserSearchResult()
            {
                Results = results.Items,
                Total = results.Total
            });
        }
コード例 #2
0
 public Task <IdServerUserCollection> List([FromBody] IdServerUserQuery query)
 {
     return(repo.List(query));
 }