Example #1
0
 // GET: api/Bookings
 public IEnumerable <Booking> Get()
 {
     return(manager.Get());
 }
Example #2
0
 // GET: api/Hotels
 public IEnumerable <Facility> Get()
 {
     return(manager.Get());
 }
 // GET: api/Guests
 public IEnumerable <Guest> Get()
 {
     return(manager.Get());
 }
 // GET: api/Hotels
 public IEnumerable <Hotel> Get()
 {
     return(manager.Get());
 }
Example #5
0
 // GET: api/data/5
 public Data Get(int id)
 {
     return(manager.Get(id));
 }