public async Task <IActionResult> ApprovalKeyOutCome(int empId, int memberId, string KeyResultAreaId, string whoami, StatusForUpdateDto entity) { var keyResultAreaId = new ObjectId(KeyResultAreaId); if (entity == null) { return(BadRequest()); } var result = await resultArea.HodApproval(empId, memberId, keyResultAreaId, whoami, entity); if (result != null) { return(Ok(result)); } return(NotFound()); }