// PUT: api/Guest/5
 public bool Put(int id, [FromBody] Guest value)
 {
     return(mngGuest.UpdateGuest(value, id));
 }
예제 #2
0
        // PUT: api/Guest/5
        public void Put(int id, [FromBody] Guest value)
        {
            ManageGuest manageGuest = new ManageGuest();

            manageGuest.UpdateGuest(value, id);
        }
예제 #3
0
        // 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);
 }
예제 #5
0
 // PUT: api/Guests/5
 public bool Put(int id, [FromBody] Guest guest)
 {
     return(manager.UpdateGuest(guest, id));
 }