From 096648cce10f2cfb95fd441687759ff6f133be1e Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 21 Apr 2023 03:19:12 +0700 Subject: [PATCH] comment dashboard gender --- Services/PeriodExamService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Services/PeriodExamService.cs b/Services/PeriodExamService.cs index fbe78cc..f1fcd48 100644 --- a/Services/PeriodExamService.cs +++ b/Services/PeriodExamService.cs @@ -979,12 +979,12 @@ namespace BMA.EHR.Recurit.Exam.Service.Services Name = "เพศหญิง", Count = periodExam.Candidate.Where(x=>x.PrefixName != null && x.PrefixName.Contains("หญิง")).Count() }, - new DashboardResponseItem - { - Id = 8, - Name = "เพศอื่นๆ", - Count = periodExam.Candidate.Count() -periodExam.Candidate.Where(x=>x.PrefixName != null && x.PrefixName.Contains("ชาย")).Count()-periodExam.Candidate.Where(x=>x.PrefixName != null && x.PrefixName.Contains("หญิง")).Count() - }, + // new DashboardResponseItem + // { + // Id = 8, + // Name = "เพศอื่นๆ", + // Count = periodExam.Candidate.Count() -periodExam.Candidate.Where(x=>x.PrefixName != null && x.PrefixName.Contains("ชาย")).Count()-periodExam.Candidate.Where(x=>x.PrefixName != null && x.PrefixName.Contains("หญิง")).Count() + // }, }; return dashboard;