fix reportLogic
This commit is contained in:
parent
2b6b0c2c97
commit
6c8921128b
@ -81,9 +81,13 @@ namespace UniversityBuisnessLogic.BuisnessLogic
|
||||
|
||||
foreach(var discipline in disciplines)
|
||||
{
|
||||
if(student.Statements.ContainsKey(discipline.Id))
|
||||
foreach (var statement in discipline.DisciplineStatements)
|
||||
{
|
||||
record.Disciplines.Add(discipline.Name);
|
||||
if(student.Statements.ContainsKey(statement.Key))
|
||||
{
|
||||
record.Disciplines.Add(discipline.Name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user