asp.net mvc mixed validation
- by maxxxee
Can I use IDataError and service layer validation together?
I am using IDataError for my my model.
However, I need to check for a condition in my service layer. If the condition is not true I need to give the user a validation message so that user can input new values.
Is this possible? Anything I need to take care of when attempting this?