示例#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));
 }
示例#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));
 }