public ActionResult Hire([FromBody] PostEmployeeCreate employee) { return(Ok($"Hiring {employee.Name} for {employee.Department} with {employee.StartingSalary}")); }
public ActionResult Hire([FromBody] PostEmployeeCreate request) { return(Ok(request)); }