// POST: api/Hotel public void Post([FromBody] Hotel value) { ManageHotel mngHotel = new ManageHotel(); mngHotel.Createhotel(value); }