예제 #1
0
        public async Task <bool> DeleteCountry(IGeoCountry country)
        {
            bool result = await repo.DeleteGeoZonesByCountry(country.Guid, CancellationToken.None);

            result = await repo.DeleteCountry(country.Guid, CancellationToken.None);

            return(result);
        }
        public async Task <bool> DeleteCountry(IGeoCountry country)
        {
            bool result = await repo.DeleteGeoZonesByCountry(country.Guid);

            result = await repo.DeleteCountry(country.Guid);

            return(result);
        }