From the course: Building Applications with Angular, ASP.NET Core, and Entity Framework Core

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Quiz ID check

Challenge: Quiz ID check

- [Instructor] So we're able to post the new question now, with a quiz ID, and we're able to get a list of questions that belong only to a specific quiz through a quiz ID as well. But, if that quiz ID doesn't work, we can still post a question we have nothing in place to check if it's a valid quiz. So, the challenge now is to check if the quiz ID actually exists using Entity Framework before posting our question. This should take about five minutes. Good luck.

Contents