(Choose 1 answer)
In Web API, how can you bind the incoming data to a model automatically?
A. By using the [FromRoute] attribute on the API method parameter
B. By using the [FromBody] attribute on the model class
C. By using the [FromQuery] attribute on the API method parameter
D. By using the [FromBody] attribute on the API method parameter