protected override async Task OnInitializedAsync() { Id = Id ?? "1"; Lecturer = await LecturerService.GetLecturer(int.Parse(Id)); Lecturers = (await LecturerService.GetLecturers()).ToList(); LecturersModules = (await LMService.GetLecturersModules()).ToList(); }
protected override async Task OnInitializedAsync() { Lecturers = (await LecturerService.GetLecturers()).ToList(); LecturersModules = (await LMService.GetLecturersModules()).ToList(); }