private async void dataGuests() { guests = await database.GetGuestAsync(); residents = await database.GetResidentsAsync(); guests = guestsWithName(guests); OnPropertyChanged("Guests"); }
public async void dataGuests() { isBusy = true; residents = await database.GetResidentsAsync(); guests = await database.GetGuestAsync(); guestNow = guestsWithName(guests); OnPropertyChanged("Guest"); checkinTime = guestNow.CheckinTime; OnPropertyChanged("CheckinTime"); guestName = guestNow.GuestName; OnPropertyChanged("GuestName"); isBusy = false; OnPropertyChanged("IsBusy"); //string abc = "0"; }