public IEnumerable <TripDto> GetTrips() { var trips = _repository.GetTrips(); return(trips.Select(entry => new TripDto() { Id = entry.Id, Description = entry.Description })); }