Quiz weiter gebaut;
This commit is contained in:
@@ -20,6 +20,12 @@ namespace MultipleChoiceTrainer.Models
|
||||
|
||||
public Question CurrentQuestion { get; set; }
|
||||
|
||||
public IList<Choice> Choices { get; set; }
|
||||
public IList<Choice> Choices { get; set; }
|
||||
|
||||
|
||||
public bool HasPreviousResult => (Evaluations != null && Evaluations.Any());
|
||||
public bool PassedPreviousQuestion => HasPreviousResult && !Evaluations.Any(e => !e.Success);
|
||||
public string PreviousQuestion { get; set; }
|
||||
public IList<Evaluation> Evaluations { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user