Q50.webp
M

Q50.webp

Kizspy | Question: 50
(Choose 1 answer)
In a controller decorated with [ApiController], what happens automatically if ModelState.IsValid is false?
A. The action method still executes as normal.
B. An HTTP 500 Internal Server Error is returned.
C. The request is automatically rejected with an HTTP 400 Bad Request response containing details of the validation
errors.
D. The application logs the error and returns an HTTP 200 OK.
  • Like
Reactions: namnamnam1305

Thông tin

Category
PRN232
Thêm bởi
Minh Châu1
Ngày thêm
Lượt xem
2,494
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom