ปรับปรุงหลายอย่าง
This commit is contained in:
@@ -232,10 +232,10 @@ namespace TodoAPI2.Models
|
||||
where i.id == model.create_evaluation_detail_id
|
||||
select i).FirstOrDefault();
|
||||
|
||||
if (current_detail.status_self == "Y")
|
||||
{
|
||||
throw new Exception("คุณนำส่งข้อตกลงการประเมินไปแล้ว ไม่สามารถบันทึกได้");
|
||||
}
|
||||
//if (current_detail.status_self == "Y")
|
||||
//{
|
||||
// throw new Exception("คุณนำส่งข้อตกลงการประเมินไปแล้ว ไม่สามารถบันทึกได้");
|
||||
//}
|
||||
|
||||
var existingEntity = _repository.Get(id);
|
||||
if (existingEntity != null)
|
||||
|
||||
Reference in New Issue
Block a user