diff --git a/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs b/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs index 6a87fb29..2bb82547 100644 --- a/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs +++ b/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs @@ -160,7 +160,6 @@ namespace BMA.EHR.Application.Repositories.Reports RegisterDate = p.RegisterDate == null ? "-" : p.RegisterDate.Value.ToThaiFullDate(), }) .FirstOrDefaultAsync(); - if (data == null) throw new Exception(GlobalMessages.CandidateNotFound); return data;