|
|
@ -3,7 +3,7 @@ namespace WF_WebAdmin.Model
|
|
|
|
public class Quiz
|
|
|
|
public class Quiz
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public int Id { get; set; }
|
|
|
|
public int Id { get; set; }
|
|
|
|
public string Question { get; set; }
|
|
|
|
public string? Question { get; set; }
|
|
|
|
public string AnswerA { get; set; }
|
|
|
|
public string AnswerA { get; set; }
|
|
|
|
public string AnswerB { get; set; }
|
|
|
|
public string AnswerB { get; set; }
|
|
|
|
public string AnswerC { get; set; }
|
|
|
|
public string AnswerC { get; set; }
|
|
|
@ -25,8 +25,8 @@ namespace WF_WebAdmin.Model
|
|
|
|
UserProposition = userProposition;
|
|
|
|
UserProposition = userProposition;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Quiz(int id, string question, string answerA, string answerB, string answerC, string answerD, string cAnswer)
|
|
|
|
public Quiz(int id, string question, string answerA, string answerB, string answerC, string answerD, string cAnswer)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Id = id;
|
|
|
|
Id = id;
|
|
|
|
Question = question;
|
|
|
|
Question = question;
|
|
|
|
AnswerA = answerA;
|
|
|
|
AnswerA = answerA;
|
|
|
@ -35,7 +35,7 @@ namespace WF_WebAdmin.Model
|
|
|
|
AnswerD = answerD;
|
|
|
|
AnswerD = answerD;
|
|
|
|
CAnswer = cAnswer;
|
|
|
|
CAnswer = cAnswer;
|
|
|
|
IsValid = true;
|
|
|
|
IsValid = true;
|
|
|
|
UserProposition = "Admin";
|
|
|
|
UserProposition = "Admin";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Quiz() {}
|
|
|
|
public Quiz() {}
|
|
|
|