Preparing the test project
Let's prepare the project by following these steps:
- In the already created project (refer to the Technical requirements section), we will now create a new empty API controller with a small action inside:
namespace ModelBinderSample.Controllers { [Route("[controller]")] [ApiController] public class PersonsController : ControllerBase { public ActionResult<object> Post( IEnumerable<Person> persons) { return new { ItemsRead = persons...