Quiz angefangen
This commit is contained in:
25
MultipleChoiceTrainer/Models/QuizViewModel.cs
Normal file
25
MultipleChoiceTrainer/Models/QuizViewModel.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using MultipleChoiceTrainer.Models.DataModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MultipleChoiceTrainer.Models
|
||||
{
|
||||
public enum QuizType
|
||||
{
|
||||
Section,
|
||||
Category
|
||||
}
|
||||
|
||||
public class QuizViewModel
|
||||
{
|
||||
public QuizType QuizType { get; set; }
|
||||
|
||||
public int CurrentTypeId { get; set; }
|
||||
|
||||
public Question CurrentQuestion { get; set; }
|
||||
|
||||
public IList<Choice> Choices { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user