Add animated classroom grouping with saved editable plans
CI / build-and-test (push) Canceled after 0s
CI / build-and-test (push) Canceled after 0s
This commit is contained in:
1 parent
d4b1419f9a
commit
f0462bd2a1
27 files changed
+775
-46
No files matched your search
@@ -103,15 +103,7 @@ public partial class MainWindow : Window
|
||||
}
|
||||
|
||||
var currentGroupId = (DataContext as MainWindowViewModel)?.CurrentGroupDetail?.Group?.Id;
|
||||
var vm = new StudentGroupGeneratorViewModel(
|
||||
App.Services.GetRequiredService<IStudentRepository>(),
|
||||
App.Services.GetRequiredService<IGroupRepository>(),
|
||||
App.Services.GetRequiredService<IGroupMembershipRepository>(),
|
||||
App.Services.GetRequiredService<IParticipationSessionRepository>(),
|
||||
App.Services.GetRequiredService<IParticipationRepository>(),
|
||||
App.Services.GetRequiredService<IGradeRepository>(),
|
||||
currentGroupId);
|
||||
_studentGroupGeneratorWindow = new StudentGroupGeneratorWindow { DataContext = vm };
|
||||
_studentGroupGeneratorWindow = StudentGroupGeneratorWindow.Create(currentGroupId);
|
||||
_studentGroupGeneratorWindow.Closed += (_, _) => _studentGroupGeneratorWindow = null;
|
||||
_studentGroupGeneratorWindow.Show();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user