ASP.NET MVC 2: add Bind(Prefix) attribute in ActionFilter
- by Feryt
Hi.
Is it possible to add BindSttribute to parameter in action filter?
Each of my view models implements IViewModel { string Prefix { get; } } interface and i would like to set BindAttribute(Prefix = Model.Prefix) for Action parameter automatically.