public async Task <IReadOnlyCollection <AirplaneSeatType> > GetAirplaneSeatTypesAsync(int airplaneId) { IReadOnlyCollection <AirplaneSeatTypeEntity> seatTypesDal = await _airplaneRepository.GetAirplaneSeatTypesAsync(airplaneId); IReadOnlyCollection <AirplaneSeatType> seatTypes = seatTypesDal.Select(_mapper.Map <AirplaneSeatType>).ToList(); return(seatTypes); }