public IActionResult UpdateEmployeeStatus([FromBody] EmployeeStatus model) { EmpStatus_repo.Update(model); return(new OkObjectResult(new { EmployeeStatusID = model.EmployeeStatusId })); }
public bool Update(int id, EmployeeStatusVM employeeStatusVM) { return(iEmployeeStatusRepository.Update(id, employeeStatusVM)); }