fix: correct typo in CountPerson property reference in PlanPercentageRepository

This commit is contained in:
2025-12-23 11:34:15 +03:30
parent 548aefb8e1
commit ed121e9ade

View File

@@ -341,8 +341,8 @@ public class PlanPercentageRepository : RepositoryBase<long, PlanPercentage>, 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();