public FerryAvailabilityService(Ports ports, Ferries ferries, TimeTables timeTables, PortManager portManager)
 {
     _ports = ports;
     _ferries = ferries;
     _timeTables = timeTables;
     _portManager = portManager;
 }
Beispiel #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();
 }
Beispiel #3
0
 public FerryAvailabilityService(Ports ports, Ferries ferries, TimeTables timeTables, PortManager portManager)
 {
     _ports       = ports;
     _ferries     = ferries;
     _timeTables  = timeTables;
     _portManager = portManager;
 }