public static ValidationResult checkTaxCode(String taxCode) { CompanyDA ctlCompany = new CompanyDA(); Company company = ctlCompany.checkExistTaxCode(taxCode); if (company == null) { return(new ValidationResult(ConstantsMultiLanguageKey.E_COM_100)); } else { return(null); } }