Ejemplo n.º 1
0
 /// <summary>
 /// Deletes an instance of GeoZone. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteGeoZone(
     Guid guid,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbGeoZone.Delete(guid, cancellationToken));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deletes an instance of GeoZone. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteGeoZone(Guid guid)
 {
     return(await dbGeoZone.Delete(guid));
 }