Beispiel #1
0
        public async Task <IEnumerable <LocationDto> > Get()
        {
            var locations = await _locationsDataService.GetLocations();

            return(locations);
        }
        public async Task GetLocationsData()
        {
            var locationsData = await _locationsDataService.GetLocations();

            LocationsList = new ObservableCollection <Location>(locationsData);
        }