title: ASP.NET MVC C# Data Annotations: Compare two values
body: <p>I am trying to create a data annotation for my MVC model to validate two dates. I have a start date and end date, the end date should be greater than the start date. I have managed to create an annotation but cannot pass values to it.
  Does ayone have any idea how to do this?</p>
  
  <p>Thanks</p>