public ServiceResponse <IEnumerable <PartialHallDto> > GetHallsByCinemaId(int cinemaId) { _logger.LogInformation($"Вход в метод FilmService.GetHallsByCinemaId c параметром {cinemaId}"); return(Execute(() => { var halls = _hallRepository.GetHallsByCinemaId(cinemaId); var listHallsDtos = halls.Select(hall => new PartialHallDto(hall)); return ServiceResponse <IEnumerable <PartialHallDto> > .Ok(listHallsDtos); })); }