// GET: api/Detail/5 public List <TravelDetail> Get(int travelid) { List <TravelDetail> details = service.FilterByTravel(travelid); return(details); }