Make DoesSlugExistAsync as virtual

pull/17642/head
Enis Necipoglu 2 years ago
parent 67bb37558c
commit 734ccfb0fc
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680

@ -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