Quiz angefangen

This commit is contained in:
2020-06-10 16:15:53 +02:00
parent a8b04a6443
commit e57f1fb172
4 changed files with 130 additions and 2 deletions

View 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; }
}
}