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(dbGeoCountry.Delete(guid));
 }
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(dbGeoCountry.Delete(guid));
 }