public bool AddRooms(Transaction context, String location, int numRooms, int price) { return(Rooms.Add(context, RID.forRoom(location), numRooms, price)); }
public bool AddCars(Transaction context, String location, int numCars, int price) { return(Cars.Add(context, RID.forCar(location), numCars, price)); }
/*************** Client interface methods **************************/ public bool AddSeats(Transaction context, String flight, int flightSeats, int flightPrice) { return(Flights.Add(context, RID.forFlight(flight), flightSeats, flightPrice)); }