public async Task <ActionResult <IEnumerable <VenueDto> > > GetVenues(string facilityIds, string venueTypeIds)
        {
            try
            {
                throw new Exception("Bład połaczenia z bazą dzisiak");

                int[] facilityIdArray = facilityIds == null ? new int[0] : facilityIds.Split(',').Select(id => int.Parse(id)).ToArray();

                int[] venueTypeIdsArray = venueTypeIds == null ? new int[0] : venueTypeIds.Split(',').Select(id => int.Parse(id)).ToArray();

                var venuesFromRepo = await _venueRepository.GetAllVenuesAsync(facilityIdArray, venueTypeIdsArray);

                return(Ok(_mapper.Map <IEnumerable <VenueDto> >(venuesFromRepo)));
            }
            catch (Exception ex)
            {
                _logger.LogError(ex.Message);
                return(StatusCode(StatusCodes.Status500InternalServerError, "Wystąpił nieznany błąd"));
            }
        }