}//End of FoodBeverage[] getAllFood() public FoodBeverage[] getAllBeverage() { myDAO = new EricDAO(); FoodBeverage[] listOfBeverage = myDAO.getAllBeverages(); _dbResultMessage = myDAO.resultMessage; return(listOfBeverage); } //End of FoodBeverage[] getAllBeverage()
}//End of EricRemoteStaff() constructor public bool addBooking(Booking aBooking) { myDAO = new EricDAO(); bool result = myDAO.addBooking(aBooking); _dbResultMessage = myDAO.resultMessage; return(result); }//End of bool addBooking()
}//End of dbResultMessage property definition //------- End of properties definitions -------// public EricRemoteLogin() { myDAO = new EricDAO(); }//End of EricRemoteLogin() constructor