Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions HOL/AspNetApiSpa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ You will use the ASP.NET Scaffolding tools provided by Visual Studio to create t
using GeekQuiz.Models;
using Microsoft.AspNet.Authorization;
using Microsoft.Data.Entity;
using Microsoft.AspNet.Mvc;
using System.Linq;
using System.Threading.Tasks;
````

1. Add the following code at the beginning of the **TriviaController** class to define, initialize and dispose the **TriviaContext** instance in the controller.
Expand Down