From ed121e9ade5eacc4d373721ef79cbcb38ea8f8c1 Mon Sep 17 00:00:00 2001 From: mahan Date: Tue, 23 Dec 2025 11:34:15 +0330 Subject: [PATCH] fix: correct typo in CountPerson property reference in PlanPercentageRepository --- .../Repository/PlanPercentageRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CompanyManagment.EFCore/Repository/PlanPercentageRepository.cs b/CompanyManagment.EFCore/Repository/PlanPercentageRepository.cs index 09eb50d0..0fcc2ad0 100644 --- a/CompanyManagment.EFCore/Repository/PlanPercentageRepository.cs +++ b/CompanyManagment.EFCore/Repository/PlanPercentageRepository.cs @@ -341,8 +341,8 @@ public class PlanPercentageRepository : RepositoryBase, IP var plans = _context.InstitutionPlans.AsQueryable(); - if (searchModel.CountPeron > 0) - plans = plans.Where(x => x.CountPerson == searchModel.CountPeron); + if (searchModel.CountPerson > 0) + plans = plans.Where(x => x.CountPerson == searchModel.CountPerson); var count = await plans.CountAsync();