public IQueryable <TripWithId> Get() { var userId = User.Identity.GetUserId(); return(_tripManager.GetTripsByUserId(userId).AsQueryable().Select(t => new TripWithId { Id = t.Id, StartDate = t.StartDate, EndDate = t.EndDate, Destination = t.Destination, Comment = t.Comment })); }