public async Task <IActionResult> GetVenuesByQuery([FromQuery] VenueQuery query)
        {
            var pagedResult = await venuesService.GetVenuesByStatusesAndQuery(query, VenueStatuses.Avaliable);

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

            return(Ok(result));
        }