예제 #1
0
        public IActionResult  Edit(Employee emp)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            service.EditEmployee(emp);

            return(Ok());
        }