I recently started Implementing custom validation using IValidatableObject in my DOT NET CORE application. We often use data annotation for simple validation for the properties in our model class. I was wondering how to validate a particular property against some data in the database. I’m happy to know that IValidatableObject can be used to do […]