public Task <bool> HasReferrersAsync(DomainId appId, DomainId contentId, SearchScope scope) { if (scope == SearchScope.All) { return(collectionAll.HasReferrersAsync(appId, contentId)); } else { return(collectionPublished.HasReferrersAsync(appId, contentId)); } }
public Task <bool> HasReferrersAsync(DomainId appId, DomainId contentId, SearchScope scope, CancellationToken ct = default) { if (scope == SearchScope.All) { return(collectionAll.HasReferrersAsync(appId, contentId, ct)); } else { return(collectionPublished.HasReferrersAsync(appId, contentId, ct)); } }