When for example an invalid date has been entered the response message will be the following.
{
"errors": {
"AccountDto": [
"The value '77-77-7777' is invalid for target location."
]
},
"title": "One or more validation errors occurred.",
"status": 400
}
I want to customize these errors by returning for example $"{propertyName} input value '77-77-7777' is an invalid date"
. For every DateTime property