예제 #1
0
 public async Task <bool> DeleteHost(
     int hostId,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbSiteSettings.DeleteHost(hostId, cancellationToken));
 }
예제 #2
0
 public async Task <bool> DeleteHost(int hostId)
 {
     return(dbSiteSettings.DeleteHost(hostId));
 }