I need to validate 3 types using C# MVC 4 Data Annotations:
» public int Quantidade { get; set; }
Values to accept: ex. 10 all the rest need to present a custom message
» public decimal Valor { get; set; }
Portuguese Currency ex. 10 or 10.20 all the rest need to present a custom message
» public string PesoBruto { get; set; }
Weight ex. 100 or 100.200 all the rest need to present a custom message
All of them are Required with a custom message.
Any idea?
Thanks.