The next entity will be the one identifying the quizzes, which will allow us to rewrite most of the QuizController sample code. Right-click on the /Data/Models/ folder, add a Quiz.cs class file, and fill it with the following code:
using System;using System.Collections.Generic;using System.ComponentModel;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;namespace TestMakerFreeWebApp.Data{ public class Quiz { #region Constructor public Quiz() { } #endregion #region Properties [Key] [Required] public int Id { get; set; } [Required] public string Title { get; set; } public string Description { get; set; } public string Text { get; set; } public string Notes { get; set; } [DefaultValue(0)] public ...