public List <Room> GetAllRooms(int buildingId) { aScheduleGateway = new ScheduleGateway(); return(aScheduleGateway.GetAllRooms(buildingId)); }