C#C
C#4y ago
Dreams

❔ 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?
Capture.PNG
Was this page helpful?