I have a webapi where I want to validate if the used parameter is of type int
. I know of the attribute DataTypesAttribute
but it doesn't support the simple types. I do not want to create a custom attribute for this.
Asked
Active
Viewed 113 times
1

Sergeant McFuzzyboots
- 93
- 10