This course will be retired on July 14, 2025.
- Using Dependency Injection 7:55
- Calling Our Repository Methods 3:23
- Configuring the JSON Serializer 9:49
- Refining Our Responses 7:54
- Exercise: Adding the Activities and Intensities API Endpoints 6:24
- Adding Validation 6:10
- Using DTOs to Prevent Under-Posting 9:07
- Testing Our DTOs 4:59
- Section Review 5 questions
Quiz Question 1 of 5
Passing the `ModelState` property into a call to the `BadRequest` method will cause the error messages in the ModelStateDictionary object to be serialized to the response message body.
Choose the correct answer below: