Beispiel #1
0
        public async Task <IEnumerable <CarDto> > Get()
        {
            var availableCars = await _carsDataService.GetAvailableCars();

            return(availableCars);
        }
Beispiel #2
0
        public async Task GetCarsData()
        {
            var carsData = await _carsDataService.GetAvailableCars();

            CarsList = new ObservableCollection <Car>(carsData);
        }