Files
Multiplechoicetrainer/MultipleChoiceTrainer/Models/DataModels/Evaluation.cs
2020-06-10 21:26:12 +02:00

17 lines
388 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MultipleChoiceTrainer.Models.DataModels
{
public class Evaluation
{
public bool Success => RightAnswer == GivenAnswer;
public bool RightAnswer { get; set; }
public bool GivenAnswer { get; set; }
public string Text { get; set; }
}
}