// GET: api/Guest public IEnumerable <Guest> Get() { ManageGuest manageGuest = new ManageGuest(); return(manageGuest.GetAllGuest()); //return new string[] { "value1", "value2" }; }
// GET: api/Guest public IEnumerable <Guest> Get() { return(mngGuest.GetAllGuest()); // return new string[] { "value1", "value2" }; }
// GET: api/Guest public IEnumerable <Guest> Get() { ManageGuest manageGuest = new ManageGuest(); return(manageGuest.GetAllGuest()); }
public IEnumerable <Guest> Get() { return(_mngeGuest.GetAllGuest()); }
// GET: api/Guests public IEnumerable <Guest> Get() { return(manager.GetAllGuest()); }