From 10eb9c8fbf09476ee1f4377952d5fb573efba213 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 13 Oct 2023 17:37:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Reports/CandidateReportRepository.cs | 1 - 1 file changed, 1 deletion(-) 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;