public FerryAvailabilityService(Ports ports, Ferries ferries, TimeTables timeTables, PortManager portManager)
 {
     _ports = ports;
     _ferries = ferries;
     _timeTables = timeTables;
     _portManager = portManager;
 }
Ejemplo n.º 2
0
 // Constructor for Management System - starts all submanagers
 public ManagementSystem()
 {
     _ferryManager     = new FerryManager();
     _timeTableManager = new TimeTableManager();
     _portManager      = new PortManager();
     _bookingManager   = new BookingManager();
     _journeyManager   = new JourneyManager();
 }
Ejemplo n.º 3
0
 public FerryAvailabilityService(Ports ports, Ferries ferries, TimeTables timeTables, PortManager portManager)
 {
     _ports       = ports;
     _ferries     = ferries;
     _timeTables  = timeTables;
     _portManager = portManager;
 }