private void AddGroupCommand(object parameter) { AddGroup frm = new AddGroup(); Nullable <bool> dialogResult = frm.ShowDialog(); GroupName = Grupa.GetGrupas(); }
public RegistrationGroupVM(Guid studentId) { _studentId = studentId; ExecuteAddKierunekCommand = new Commanding(AddKierunekCiagGroupCommand, CanAddKierunekCiagGroupCommand); ExecuteAddKierunek = new Commanding(AddKierunekCommand, CanAddKierunekCommand); ExecuteAddCiag = new Commanding(AddCiagCommand, CanAddCiagCommand); ExecuteAddGroup = new Commanding(AddGroupCommand, CanAddGroupCommand); SemesterName = Semestr.GetSemestersNames(); KierunekName = Kierunek.GetKieruneks(); CiagName = Ciag.GetCiags(); GroupName = Grupa.GetGrupas(); }