แก้ format

This commit is contained in:
Kittapath 2023-10-13 17:37:33 +07:00
parent 8b70c8e853
commit 10eb9c8fbf

View file

@ -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;