From 734ccfb0fc086f4cb9074e9dc7efc37e3defbbd5 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Tue, 19 Sep 2023 11:10:37 +0300 Subject: [PATCH] Make DoesSlugExistAsync as virtual --- .../Volo/CmsKit/Public/Pages/PagePublicAppService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs b/modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs index 49dbd55963..b28bb9d470 100644 --- a/modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs +++ b/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); } - public async Task DoesSlugExistAsync([NotNull] string slug) + public virtual async Task DoesSlugExistAsync([NotNull] string slug) { var cached = await PageCache.GetAsync(new PageCacheKey(slug)); if (cached is not null)