public IActionResult Edit(Employee emp) { if (!ModelState.IsValid) { return(BadRequest()); } service.EditEmployee(emp); return(Ok()); }