public async Task <IActionResult> ApprovalKeyOutCome(int empId, StatusForUpdateDto entity) { if (entity == null) { return(BadRequest()); } var result = await resultArea.EmployeeApproval(empId, entity); if (result > 0) { return(Ok()); } return(NoContent()); }