public async Task <List <House> > InitializeDataAsync()
        {
            var houseService = new HouseServices();

            ProviderHouseList = await houseService.GetHousesForProvider(providerId);

            OnPropertyChanged();
            return(ProviderHouseList);
        }
Ejemplo n.º 2
0
        private async Task <List <House> > InitializeDataAsync()
        {
            var houseService = new HouseServices();

            ProviderHouseList = await houseService.GetHousesForProvider(providerId);

            CurrentHouseService = await houseService.GetServiceForHouse(houseIDToFindSingleHouse);

            return(ProviderHouseList);
        }