public StarShipManager() { _commandLineService = new CommandLineService(); // show factory dp _starShipService = new StarShipServiceFactory().CreateInstance(); StarShips = new List <Starship>(); }
public StarShipManager(StarShipService starShipService, List <Starship> s) { _starShipService = starShipService; StarShips = s; _commandLineService = new CommandLineService(); }