コード例 #1
0
        public async Task <ActionResult <IEnumerable <GuildReadDto> > > GetAllGuilds(string filter, int?index, int?items)
        {
            var guildItems = await _repository.GetAllGuildsAsync(filter, new Pagination(index, items));

            return(Ok(_mapper.Map <IEnumerable <GuildReadDto> >(guildItems)));
        }