From ba94b4df37c8d1f42205f0e27a4ae0f03a0f1a6d Mon Sep 17 00:00:00 2001 From: Ahmet Date: Mon, 4 Jan 2021 14:14:08 +0300 Subject: [PATCH] Update EfCorePageRepository.cs --- .../Volo/CmsKit/Pages/EfCorePageRepository.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Pages/EfCorePageRepository.cs b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Pages/EfCorePageRepository.cs index 0fbfa1d568..794281fa01 100644 --- a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Pages/EfCorePageRepository.cs +++ b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Pages/EfCorePageRepository.cs @@ -56,10 +56,5 @@ namespace Volo.CmsKit.Pages { return (await GetDbSetAsync()).AnyAsync(x => x.Url == url, GetCancellationToken(cancellationToken)); } - - public async Task DoesExistAsync(string url) - { - return await (await GetDbSetAsync()).AnyAsync(x => x.Url == url); - } } }