예제 #1
0
        public async Task <HopCompleteDto> GeHopsBySearch(string query, int from = 0, int size = 20)
        {
            var hops = await _hopService.SearchHop(query, from, size);

            return(new HopCompleteDto {
                Hops = hops.ToList()
            });
        }