public async Task AddOrUpdate(UsaCountryInfo countryInfo, UsaCountryModel country) { Country dbCountry = await countryRepository.CountryByCodeAsync(country.Code); if (dbCountry == null) { await Add(countryInfo, country); } else { await Update(dbCountry, countryInfo); } }