Ejemplo n.º 1
0
        private async Task OnEditEnrollmentCommandExecuteAsync()
        {
            var selectedEnrollmentId = SelectedEnrollment.Id;

            var enrollment = await enrollmentService.GetEnrollmentAsync(selectedEnrollmentId);

            await uiVisualizerService.ShowDialogAsync <EnrollmentDetailsViewModel>(enrollment);

            await UpdateDatesAsync();
            await UpdateEnrollmentsAsync();

            SelectedEnrollment = Enrollments.FirstOrDefault(Enrollment => Enrollment.Id.Equals(selectedEnrollmentId));
        }