I am having a problem to use to object with Fluentvalidation
I can not use the object in my code. It says cannot convert from object to FluentValidation.IvalidationContext. namespace Northwind.Business.Utilities { public static class ValidationTool { public static void Validate(IValidator validator, object entity) { var result = validator.Validate(entity); if (result.Errors.Count > 0) { throw new ValidationException(result.Errors); } } } } >Solution : The reason why you… Read More I am having a problem to use to object with Fluentvalidation