예제 #1
0
        public async Task <IActionResult> GetVenuesByQuery([FromQuery] VenueQuery query)
        {
            var pagedResult = await venuesService.GetVenuesQuery(query);

            var result = mapper.Map <IEnumerable <VenueResource> >(pagedResult);

            return(Ok(result));
        }