// PUT: api/Bookings/5 public bool Put(int id, [FromBody] Booking booking) { return(manager.Put(Extractables.ExtractBooking(booking), PrimaryKeys(id))); }
// POST: api/Bookings public bool Post([FromBody] Booking booking) //Beware of cultural differences with dates { return(manager.Post(Extractables.ExtractBooking(booking))); }