Beispiel #1
0
        async Task LoadDepartments()
        {
            var departmentsTask = DepartmentsClient.Get();

            Departments = await departmentsTask;
            Course      = new CourseDto();
        }
Beispiel #2
0
        async Task LoadCourse()
        {
            var departmentsTask = DepartmentsClient.Get();
            var courseTask      = CoursesClient.GetDetails(CourseID);

            Departments = await departmentsTask;
            Course      = await courseTask;
        }