Hi i have been looking for some solutions but i have found nothing…
Is there a way to use resources with the ActionNameAttribute?
For example with DisplayNameAttribute in properties we can resort to:
[Display(Name = "labelForName", ResourceType = typeof(Resources.Resources))]
public string name{ get; set; }
But I do not know a way to use resources for my action methods…
Thanks¡
You could write a custom attribute to achieve this task:
and then: