Skip to content

Exercises

Exercise 1

The database has a number of tables in it and Entity Framework created the Models for us. Now create the controllers for each of the following Models.

Model Name Controller Name
GameSchedule GameScheduleController
Players PlayersController
PoolPoints PoolPointsController
Staff StaffController
Teams TeamsController

Your task is to complete the api so data can be submitted using PostMan and a Visual Studio Code plugin incase you can't use postman.

We will look at testing our API next