Reputation: 11
I am building an application in which I have Models, ViewModels added in the business layer, and Controller and views in the Web application. Now I want to apply data annotation through the view model which is located in the Business layer. My questions is how can I use data annotation which is applied in viewmodel that is created in different layer i.e in my case in the business layer.
Upvotes: 0
Views: 295