コード例 #1
0
ファイル: GeoDataManager.cs プロジェクト: vebin/cloudscribe
        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);
        }
コード例 #2
0
        public async Task <bool> DeleteCountry(IGeoCountry country)
        {
            bool result = await repo.DeleteGeoZonesByCountry(country.Guid);

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

            return(result);
        }