0

I am doing an MVC5, Framework 4.5.1 App. I have a Entity with DataAnnotation. I need to compare that two properties are different.. OldPassword and NewPassowrd.

I think the best wat to compare it, is using [NotEqualTo] Validation. But have an error The type or namespace do not exists. Are you missing an assembly?. I have a reference to System.Web.Mvc

What I a missing?

Diego
  • 2,238
  • 4
  • 31
  • 68

0 Answers0