ตกหล่นของลูกจ้าง
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m48s
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m48s
This commit is contained in:
parent
dcbb845c0e
commit
2743edf82f
1 changed files with 2 additions and 1 deletions
|
|
@ -3059,7 +3059,8 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
|
|
||||||
if (old != null)
|
if (old != null)
|
||||||
{
|
{
|
||||||
return Error(new Exception("ไม่สามารถทำรายการได้ เนื่องจากมีการกำหนดรอบการทำงานในวันที่นี้ไว้แล้ว"), StatusCodes.Status400BadRequest);
|
await _userDutyTimeRepository.DeleteAsync(old);
|
||||||
|
//return Error(new Exception("ไม่สามารถทำรายการได้ เนื่องจากมีการกำหนดรอบการทำงานในวันที่นี้ไว้แล้ว"), StatusCodes.Status400BadRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
var data = new UserDutyTime
|
var data = new UserDutyTime
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue