I\'m currently learning Net core, can anybody share with me how to override dataAnnotation ErrorMessage from string to object.
instead of ErrorMessage as string