Exemplo n.º 1
0
        protected override async void OnNew()
        {
            TArgs.TeacherId = null;
            EArgs.TeacherId = null;
            await TeacherDetailsViewModel.LoadAsync(TArgs);

            await TeacherEvaluationViewModel.LoadAsync(EArgs);
        }
Exemplo n.º 2
0
        public async void OnSelected()
        {
            if (SelectedItem != null)
            {
                TArgs.TeacherId = SelectedItem.TeacherId;
                EArgs.TeacherId = SelectedItem.TeacherId;
                await TeacherEvaluationViewModel.LoadAsync(EArgs);

                await TeacherDetailsViewModel.LoadAsync(TArgs);
            }
        }