/**
  * Retrieves list of Direction stops from Model and passes over to the View updateStops method
  *
  * @throws ServiceUnavailableException
  */
 private void updateDirectionStopsTable(Direction direction) throws ServiceUnavailableException {
   String[][] stopList =
       mainModel.getRouteStopsArray(
           FindStopsHelper.identifyStopsForDirection(direction, mainModel.getAllStopsList()));
   mainView.enableRefresh(stopsExist(stopList.length));
   mainView.updateStopsTable(stopList);
 }
 /**
  * Retrieves list of Route stops from Model and passes over to the View updateStops method
  *
  * @throws ServiceUnavailableException
  */
 private void updateRouteStopsTable(ArrayList<Stop> stopList) throws ServiceUnavailableException {
   mainView.updateStopsTable(mainModel.getRouteStopsArray(stopList));
 }