public void SetTravel(ITrave travel) { if (travel == null) { throw new ArgumentNullException(nameof(travel)); } _Travel = travel; }
public PersonContext(ITrave travel) { _Travel = travel; }