Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
This commit is contained in:
commit
ba518de57e
1 changed files with 4 additions and 4 deletions
|
|
@ -685,10 +685,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
if (exam == null)
|
||||
throw new Exception(GlobalMessages.ExamNotFound);
|
||||
|
||||
if (exam.RegisterStartDate != null && exam.RegisterStartDate.Value.Date > DateTime.Now.Date)
|
||||
if (exam.RegisterStartDate != null && exam.RegisterStartDate.Value > DateTime.Now)
|
||||
throw new Exception("ยังไม่ถึงช่วงเวลาสมัครสอบ");
|
||||
|
||||
if (exam.RegisterEndDate != null && exam.RegisterEndDate.Value.Date < DateTime.Now.Date)
|
||||
if (exam.RegisterEndDate != null && exam.RegisterEndDate.Value < DateTime.Now)
|
||||
throw new Exception("หมดเวลาช่วงสมัครสอบ");
|
||||
|
||||
var _candidate = await _context.Candidates.AsQueryable()
|
||||
|
|
@ -1985,10 +1985,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
if (exam == null)
|
||||
throw new Exception(GlobalMessages.ExamNotFound);
|
||||
|
||||
if (exam.RegisterStartDate != null && exam.RegisterStartDate.Value.Date > DateTime.Now.Date)
|
||||
if (exam.RegisterStartDate != null && exam.RegisterStartDate.Value > DateTime.Now)
|
||||
throw new Exception("ยังไม่ถึงช่วงเวลาสมัครสอบ");
|
||||
|
||||
if (exam.RegisterEndDate != null && exam.RegisterEndDate.Value.Date < DateTime.Now.Date)
|
||||
if (exam.RegisterEndDate != null && exam.RegisterEndDate.Value < DateTime.Now)
|
||||
throw new Exception("หมดเวลาช่วงสมัครสอบ");
|
||||
|
||||
var candidate = await _context.Candidates.AsQueryable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue