0
reyada created
We using ASPZero ASP.NET MVC 5.x & jQuery we use the model annotation "DTO" to validation client & server side
how can I access to the localization (L)method from data annotation class "DTO" ( application service ) example : [Required(ErrorMessage =<<Localization string >>]
1 Answer(s)
-
0
Attribute parameters must be constants, so you can't use the L method inside of an attribute.