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();