// PUT: api/Guest/5 public bool Put(int id, [FromBody] Guest value) { return(mngGuest.UpdateGuest(value, id)); }
// PUT: api/Guest/5 public void Put(int id, [FromBody] Guest value) { ManageGuest manageGuest = new ManageGuest(); manageGuest.UpdateGuest(value, id); }
// PUT: api/Guests/5 public bool Put(int id, [FromBody] Guest value) { ManageGuest mgr = new ManageGuest(); return(mgr.UpdateGuest(value, id)); }
// PUT: api/Guest/5 public void Put(int id, [FromBody] Guest value) { mnGuest.UpdateGuest(value, id); }
// PUT: api/Guests/5 public bool Put(int id, [FromBody] Guest guest) { return(manager.UpdateGuest(guest, id)); }