public void DisembarkAll(Place currentPlace, Place destinyPlace) { if (!CurrentPlaceHasSmartFortwo(currentPlace)) { throw new Exception("The smart fortwo was not found!"); } var crewMembers = currentPlace.DisembarkAllFromSmartFortwo(); currentPlace.Board(crewMembers.ToList()); _tripInformerService.ShowDisembarkingInfo(crewMembers); _tripInformerService.ShowTripStateInfo(currentPlace, destinyPlace); }
public void DisembarkDriver(Place currentPlace, Place destinyPlace) { if (!CurrentPlaceHasSmartFortwo(currentPlace)) { throw new Exception("The smart fortwo was not found!"); } var driver = currentPlace.DisembarkDriverFromSmartFortwo(); currentPlace.Board(driver); _tripInformerService.ShowDisembarkingInfo(new List <CrewMember> { driver }); _tripInformerService.ShowTripStateInfo(currentPlace, destinyPlace); }