public void LoadAllCoordinateFromDatabase() { DataServiceTrip dsTrip = new DataServiceTrip(); List <Trip> allTripInDB = dsTrip.LoadTrip(); TripPoints = new ObservableCollection <Trip>(allTripInDB); }
private void TripNav() { DataServiceTrip dsTrip = new DataServiceTrip(); TripList = dsTrip.LoadTrip(); Messenger.Default.Send <int, TripViewModel>(TripList.Find(x => x.IsActif).Id); _navigationService.NavigateTo("TripView"); }
public void LoadArchivesTripFromDatabase() { DataServiceTrip dsTrip = new DataServiceTrip(); TripList = dsTrip.LoadTrip(); }