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 >>]
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Attribute parameters must be constants, so you can't use the L method inside of an attribute.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)