public async Task <List <House> > InitializeDataAsync() { var houseService = new HouseServices(); ProviderHouseList = await houseService.GetHousesForProvider(providerId); OnPropertyChanged(); return(ProviderHouseList); }
private async Task <List <House> > InitializeDataAsync() { var houseService = new HouseServices(); ProviderHouseList = await houseService.GetHousesForProvider(providerId); CurrentHouseService = await houseService.GetServiceForHouse(houseIDToFindSingleHouse); return(ProviderHouseList); }