Browse Source

Make DoesSlugExistAsync as virtual

pull/17642/head
Enis Necipoglu 2 years ago
parent
commit
734ccfb0fc
No known key found for this signature in database GPG Key ID: 1EC55E13241E1680
  1. 2
      modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs

2
modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs

@ -72,7 +72,7 @@ public class PagePublicAppService : CmsKitPublicAppServiceBase, IPagePublicAppSe
return ObjectMapper.Map<PageCacheItem, PageDto>(pageCacheItem);
}
public async Task<bool> DoesSlugExistAsync([NotNull] string slug)
public virtual async Task<bool> DoesSlugExistAsync([NotNull] string slug)
{
var cached = await PageCache.GetAsync(new PageCacheKey(slug));
if (cached is not null)

Loading…
Cancel
Save