❔ Does Required attribute work for controller parameters?
If the POST is missing either
Email
or Password
, does ASP.NET return a 400? If not, what reason does the author have for putting Required
attributes on a DTO?1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.