Upgrading the user entity

Open the /Data/Models/ApplicationUser.cs file and add the following Lazy-Load property to the end:

[...]#region Lazy-Load Properties/// <summary>/// A list of all the quiz created by this users./// </summary>public virtual List<Quiz> Quizzes { get; set; }/// <summary>/// A list of all the refresh tokens issued for this users./// </summary>public virtual List<Token> Tokens { 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.