Update ManagerSession.java

Refactored getNumberofReservations methods.