public async Task Should_get_all_event_rooms()
        {
            var eventRoom1 = new EventRoomBuilder()
                             .Build();
            var eventRoom2 = new EventRoomBuilder()
                             .Build();
            var eventRooms = new List <EventRoom> {
                eventRoom1, eventRoom2
            };

            _eventRoomRepository
            .GetAllAsync()
            .Returns(eventRooms);

            var eventRoomsResponse = await _eventRoomService
                                     .GetAll();

            eventRoomsResponse
            .Should()
            .SatisfyRespectively(
                item1 =>
            {
                item1
                .Should()
                .BeEquivalentTo(eventRoom1, opt => opt.ExcludingMissingMembers());
            },
                item2 =>
            {
                item2
                .Should()
                .BeEquivalentTo(eventRoom2, opt => opt.ExcludingMissingMembers());
            });
        }
        public async Task <IList <EventRoomResponse> > GetAll()
        {
            var eventRooms = await _eventRoomRepository
                             .GetAllAsync();

            return(eventRooms
                   .Select(eventRoom => new EventRoomResponse(eventRoom))
                   .ToList());
        }