public bool Post([FromBody] Booking value) { return(_mngBooking.CreateBooking(value)); }
// POST: api/Booking public void Post([FromBody] Booking value) { ManageBooking mngBooking = new ManageBooking(); mngBooking.CreateBooking(value); }
public bool Post([FromBody] Booking value) { return(_mngBooking.CreateBooking(value)); }
// POST: api/Booking public void Post([FromBody] Booking value) { ManageBooking mngBooking = new ManageBooking(); mngBooking.CreateBooking(value); }