I am architecting a Project in MVC. I am using default data validations as my validation block.
I have created a separate class library in which I have created all the model classes such as Book, Author with contains their respected data annotations.
I am including this dll in the main project and have already created Create, update, edit, delete, index by scaffolding.
But now my validations are not working. Is it necessary to have all the models classes in the Models folders in the main project ?
Please do help me regarding this matter....