แก้ปัญหาตามที่เพลงแจ้ง

This commit is contained in:
Nakorn Rientrakrunchai
2021-02-18 10:39:48 +07:00
parent d49eef1d1d
commit c5ebef0700
2 changed files with 39 additions and 10 deletions

View File

@@ -287,10 +287,10 @@ namespace TodoAPI2.Models
noti_url = "/eva/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d2?id=" + existingEntity.id.ToString();
}
if (need_noti)
{
SendNotification(noti_to_employee_id, owner_eva_employee_id, existingEntity.id, noti_message, noti_url);
}
//if (need_noti)
//{
// SendNotification(noti_to_employee_id, owner_eva_employee_id, existingEntity.id, noti_message, noti_url);
//}
var updated = _repository.Update(id, existingEntity);
return Get(updated.id);