public async Task <ItemsPage <Airplane> > GetAllAsync(int currentPage, int pageLimit) { ItemsPageEntity <AirplaneEntity> airplanesDal = await _airplaneRepository.GetAllAsync(currentPage, pageLimit); ItemsPage <Airplane> airplanes = _mapper.Map <ItemsPage <Airplane> >(airplanesDal); return(airplanes); }