ResultViewModel

So far, so good. Let's proceed with the ResultViewModel:

using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq;  namespace TestMakerFreeWebApp.ViewModels {     [JsonObject(MemberSerialization.OptOut)]     public class ResultViewModel     {         #region Constructor         public ResultViewModel()         {          }         #endregion          #region Properties         public int Id { get; set; }         public int QuizId { get; set; }         public string Text { get; set; }         public string Notes { get; set; }         [DefaultValue(0)]         public int Type { get; set; }         [DefaultValue(0)]         public int Flags { get; set; }         [JsonIgnore]         public DateTime CreatedDate { get; set; }         public DateTime LastModifiedDate { get; set; }  #endregion  ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.