Example #1
0
        // GET: api/Guest/5
        public Guest Get(int id)
        {
            ManageGuest mngGuest = new ManageGuest();

            return(mngGuest.GetGuestFromId(id));
            //return "value";
        }
 // GET: api/Guest/5
 public Guest Get(int id)
 {
     return(mngGuest.GetGuestFromId(id));
     // return "value";
 }
        // GET: api/Guest/5
        public Guest Get(int id)
        {
            ManageGuest manageGuest = new ManageGuest();

            return(manageGuest.GetGuestFromId(id));
        }
 public Guest Get(int id)
 {
     return(_mngeGuest.GetGuestFromId(id));
 }
Example #5
0
 // GET: api/Guests/5
 public Guest Get(int id)
 {
     return(manager.GetGuestFromId(id));
 }