asp.net mvc mixed validation

Posted by maxxxee on Stack Overflow See other posts from Stack Overflow or by maxxxee
Published on 2010-02-20T13:15:15Z Indexed on 2010/04/15 8:03 UTC
Read the original article Hit count: 383

Filed under:

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?

© Stack Overflow or respective owner

Related posts about asp.net-mvc