public async void OnNavigatedTo(NavigationContext navigationContext) { DepartmentChildren dept = new DepartmentChildren(); this.DepartmentChildrens = await dept.GetDepartmentChildrensAsync(); this.User = new User(); }
public async void OnNavigatedTo(NavigationContext navigationContext) { // 画面遷移元から送られる SelectedUser パラメーターを取得。 this.User = navigationContext.Parameters.GetValue <User>("SelectedUser"); DepartmentChildren dept = new DepartmentChildren(); this.DepartmentChildrens = await dept.GetDepartmentChildrensAsync(); }
private async void UpdateDepartmentChildrens() { DepartmentChildren DC = new DepartmentChildren(); this.DepartmentChildrens = await DC.GetDepartmentChildrensAsync(); }