public List <AirplaneDetailViewModel> All() { using (_unitOfWork) { var result = _airplaneService.All(); var map = _mapper.Map <List <AirplaneDetailViewModel> >(result); return(map); } }