reverse bool

This commit is contained in:
Wonky Willy 2022-04-02 16:26:41 +02:00
parent af953d7c8d
commit 2f23ecf7a7

View file

@ -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);
}
}