예제 #1
0
 public IActionResult AddEmployee([FromBody] Employee employee)
 {
     _logger.LogInformation("Add Employee: {LastName}", employee.LastName);
     _database.AddEmployee(employee);
     return(Ok(employee));
 }