public PartiesViewModel(IPartyService dataService, IDestinationService destinationService) { if (dataService == null) { throw new ArgumentNullException("dataService"); } if (dataService == null) { throw new ArgumentNullException("destinationService"); } this.destService = destinationService; this.dataService = dataService; this.Parties = dataService.GetAllActiveParties(); this.Destinations = new ObservableCollection <string>(destinationService.GetDestinations().Select(d => d.DestinationDesc)); }