// POST: api/Trip public void Post([FromBody] tblTrip trip) { db.addTrip(trip.FlightID, trip.Airplane_No, trip.TripDate.Date, trip.Departure_Time, trip.Arrival_Time); }