Merge branch 'develop-br!ght' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
This commit is contained in:
commit
d95dfdfca8
1 changed files with 7 additions and 7 deletions
|
|
@ -699,7 +699,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
}).ToListAsync();
|
||||
|
||||
if (data.Count == 0)
|
||||
throw new Exception("ไม่พบข้อมูลในระบบ");
|
||||
return NotFound("ไม่พบข้อมูลในระบบ");
|
||||
|
||||
var examName = data.First().ExamName;
|
||||
|
||||
|
|
@ -839,7 +839,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
.ToListAsync();
|
||||
|
||||
if (data.Count == 0)
|
||||
throw new Exception("ไม่พบข้อมูลในระบบ");
|
||||
return NotFound("ไม่พบข้อมูลในระบบ");
|
||||
|
||||
var examName = data.First().ExamName;
|
||||
|
||||
|
|
@ -948,7 +948,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
.FirstOrDefaultAsync(x => x.Id == id);
|
||||
|
||||
if (periodExam == null)
|
||||
throw new Exception("ไม่พบข้อมูลการรับสมัครสอบ");
|
||||
return NotFound("ไม่พบข้อมูลการรับสมัครสอบ");
|
||||
|
||||
var data = await _context.Candidates.AsQueryable()
|
||||
.Include(x => x.PeriodExam)
|
||||
|
|
@ -967,7 +967,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
}).ToListAsync();
|
||||
|
||||
if (data.Count == 0)
|
||||
throw new Exception("ไม่พบข้อมูลในระบบ");
|
||||
return NotFound("ไม่พบข้อมูลในระบบ");
|
||||
|
||||
var examName = data.First().ExamName;
|
||||
|
||||
|
|
@ -1087,7 +1087,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
.FirstOrDefaultAsync(x => x.Id == id);
|
||||
|
||||
if (periodExam == null)
|
||||
throw new Exception("ไม่พบข้อมูลการรับสมัครสอบ");
|
||||
return NotFound("ไม่พบข้อมูลการรับสมัครสอบ");
|
||||
|
||||
var candidates = await _context.Candidates.AsQueryable()
|
||||
.Include(x => x.PeriodExam)
|
||||
|
|
@ -1111,8 +1111,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
.Where(x => x.ExamResult?.Trim() == "ได้")
|
||||
.ToList();
|
||||
|
||||
if (data.Count == 0)
|
||||
throw new Exception("ไม่พบข้อมูลในระบบ");
|
||||
if (data.Count == 0)
|
||||
return NotFound("ไม่พบข้อมูลในระบบ");
|
||||
|
||||
var examName = data.First().ExamName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue