Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public async Task <bool> DeleteCountry(IGeoCountry country)
        {
            bool result = await repo.DeleteGeoZonesByCountry(country.Guid);

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

            return(result);
        }