From 2f23ecf7a796586c297bbf2a093271236fde56fa Mon Sep 17 00:00:00 2001 From: Wonky Willy Date: Sat, 2 Apr 2022 16:26:41 +0200 Subject: [PATCH] reverse bool --- ViesQueryValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViesQueryValidator.cs b/ViesQueryValidator.cs index 1e3a982..d187c06 100644 --- a/ViesQueryValidator.cs +++ b/ViesQueryValidator.cs @@ -30,6 +30,6 @@ public static class ViesQueryValidator { public static bool ValidateViesQuery(ViesQuery query) { - return string.IsNullOrWhiteSpace(query.VatNumber) && string.IsNullOrWhiteSpace(query.CountryCode); + return !string.IsNullOrWhiteSpace(query.VatNumber) && !string.IsNullOrWhiteSpace(query.CountryCode); } } \ No newline at end of file