Exemple #1
0
 /// <summary>
 /// Deletes an instance of GeoCountry. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteCountry(
     Guid guid,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbGeoCountry.Delete(guid, cancellationToken));
 }
Exemple #2
0
 /// <summary>
 /// Deletes an instance of GeoCountry. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteCountry(Guid guid)
 {
     return(await dbGeoCountry.Delete(guid));
 }