예제 #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(dbGeoZone.Delete(guid));
 }
예제 #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(dbGeoZone.Delete(guid));
 }