public async Task UpdateCountry(Country country, City capital, Region region, CountryInfoDTO countryInfo) { country.Area = countryInfo.CountryArea; country.CountryCode = countryInfo.CountryCode; country.Name = countryInfo.CountryName; country.Population = countryInfo.CountryPopulation; await _countryLogic.UpdateCountry(country); await _cityLogic.UpdateCity(capital); await _regionLogic.UpdateRegion(region); }