Question: Goal:
Validate input data in my e-formulary.

Question:
What syntax code (dataannotations) do I need to ensure that data is int or decimal?

Answer: 
If you are recieving your data from an input box, you can use a `TryParse` on your data. e.g.

```
decimal dec;
if(decimal.TryParse(YourInput.Text, out dec))
{
   // Valid Decimal
}
else { // Invalid }

```

...Same goes for an int, with `int.TryParse()`;
Maybe I'm not understanding the question. For data type validation, simply have the property on your model be of the desired type (int or decimal).